public void SetDataFrom(BinaryReader reader)
 {
     CorrelationId = new Guid(reader.ReadString());
     Item = reader.ReadString();
     Test = new Chain();
     Test.ReadDataFrom(reader);
 }
Exemple #2
0
 public void SetDataFrom(BinaryReader reader)
 {
     CorrelationId = new Guid(reader.ReadString());
     Item          = reader.ReadString();
     Test          = new Chain();
     Test.ReadDataFrom(reader);
 }
 public void ReadDataFrom(BinaryReader reader)
 {
     Name = reader.ReadString();
     DisplayName = reader.ReadString();
     IsSetup = reader.ReadBoolean();
     IsTest = reader.ReadBoolean();
     IsTeardown = reader.ReadBoolean();
     TimeStart = reader.ReadDouble();
     TimeEnd = reader.ReadDouble();
     var childrenCount = reader.ReadInt32();
     for(int i=0;i<childrenCount;i++)
     {
         var child = new Chain();
         child.ReadDataFrom(reader);
         Children.Add(child);
     }
 }
Exemple #4
0
        public void ReadDataFrom(BinaryReader reader)
        {
            Name        = reader.ReadString();
            DisplayName = reader.ReadString();
            IsSetup     = reader.ReadBoolean();
            IsTest      = reader.ReadBoolean();
            IsTeardown  = reader.ReadBoolean();
            TimeStart   = reader.ReadDouble();
            TimeEnd     = reader.ReadDouble();
            var childrenCount = reader.ReadInt32();

            for (int i = 0; i < childrenCount; i++)
            {
                var child = new Chain();
                child.ReadDataFrom(reader);
                Children.Add(child);
            }
        }