chr
2026-04-08 53e656200368a983e563550e2cc1acbc6d86b729
OpenTap/Engine/TestStep.cs
@@ -16,6 +16,7 @@
using System.Threading;
using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices;
using OpenTap.Addin.Annotation;
namespace OpenTap
@@ -34,9 +35,22 @@
    {
        #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; }
@@ -97,6 +111,7 @@
                              "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;
@@ -206,6 +221,7 @@
        private string description;
        [Display("描述")]
        [IgnoreVariable]
        public string Description
        {
            get => description;