Microsoft.Protocols.TestSuites.Common.TaggedPropertyValue.Parse C# (CSharp) Метод

Parse() публичный Метод

Parse bytes in context into TaggedPropertyValueNode
public Parse ( Context context ) : void
context Context The value of Context
Результат void
        public override void Parse(Context context)
        {
            // Parse PropertyType and assign it to context's current PropertyType
            Microsoft.Protocols.TestSuites.Common.PropertyTag p = new PropertyTag();
            context.CurIndex += p.Deserialize(context.PropertyBytes, context.CurIndex);
            context.CurProperty.Type = (PropertyType)p.PropertyType;

            // this.PropertyTag = new PropertyTag();
            this.PropertyTag = p;
            
            // context.CurIndex += this.PropertyTag.Deserialize(context.PropertyBytes, context.CurIndex);
            // context.CurProperty.Type = (PropertyType)this.PropertyTag.PropertyType;
            base.Parse(context);
        }
    }
TaggedPropertyValue