public TdfUnion(string label, NetworkAddressMember value, List<Tdf> data) { this.Label = label; this.Type = TdfBaseType.Union; this.activeMember = value; this.Data = data; }
public TdfUnion(string label, NetworkAddressMember value, List <Tdf> data) { this.label = label; this.type = TdfBaseType.TDF_TYPE_UNION; this.activeMember = value; this.data = data; }
public TdfUnion(string label, NetworkAddressMember value, List <Tdf> data) { this.Label = label; this.Type = TdfBaseType.Union; this.activeMember = value; this.Data = data; }
private TdfUnion DecodeTdfUnion(string label) { NetworkAddressMember activeMember = (NetworkAddressMember)_stream.ReadByte(); TdfUnion union = new TdfUnion(label, activeMember, new List <Tdf> { }); // if active member is not set then there are no data members if (activeMember != NetworkAddressMember.MEMBER_UNSET) { union.data.Add(ReadTdf()); } return(union); }
public TdfUnion(string label, NetworkAddressMember value, List<Tdf> data) { this.label = label; this.type = TdfBaseType.TDF_TYPE_UNION; this.activeMember = value; this.data = data; }