Пример #1
0
        internal static string Serialize(IRunStep step)
        {
            if (step == null)
            {
                return(null);
            }

            var type = step.GetType();

            return($"{type}, {type.Assembly.GetName().Name}");
        }
 public VisitStatus Visit <TProperty, TContainer>(IPropertyVisitor visitor, TProperty property, ref TContainer container, ref IRunStep value, ref ChangeTracker changeTracker)
     where TProperty : IProperty <TContainer, IRunStep>
 {
     AppendJsonString(property, RunStep.Serialize(value));
     return(VisitStatus.Override);
 }
Пример #3
0
 protected override void Reset()
 {
     base.Reset();
     BuildSteps.Clear();
     RunStep = null;
 }