| | |
| | | using System.Threading; |
| | | using System.Runtime.CompilerServices; |
| | | using System.Runtime.ExceptionServices; |
| | | using OpenTap.Addin.Annotation; |
| | | |
| | | |
| | | namespace OpenTap |
| | |
| | | { |
| | | #region Properties |
| | | |
| | | private TestPlan root; |
| | | protected TestPlan root; |
| | | [XmlIgnore] |
| | | public TestPlan Root { get => root; set => root = value; } |
| | | public TestPlan Root |
| | | { |
| | | get => root; |
| | | set |
| | | { |
| | | root = value; |
| | | OnRootChanged(value); |
| | | } |
| | | } |
| | | |
| | | protected virtual void OnRootChanged(TestPlan plan) |
| | | { |
| | | |
| | | } |
| | | |
| | | public StepResult Result { get; set; } |
| | | |
| | |
| | | "replaced with it's current value in some views.", Group: "Common", Order: 20001, Collapsed: true)] |
| | | [Unsweepable] |
| | | [MetaData(Frozen = true)] |
| | | [IgnoreVariable] |
| | | public string Name |
| | | { |
| | | get => name; |
| | |
| | | |
| | | private string description; |
| | | [Display("描述")] |
| | | [IgnoreVariable] |
| | | public string Description |
| | | { |
| | | get => description; |