/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshResponse)this).SerializeX(_Writer, false, ref _first); if (__Valid){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Valid", 1); _Writer.WriteBoolean (Valid); } if (__Minimum){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Minimum", 1); _Writer.WriteInteger32 (Minimum); } if (__Maximum){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Maximum", 1); _Writer.WriteInteger32 (Maximum); } if (InvalidCharacters != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("InvalidCharacters", 1); _Writer.WriteString (InvalidCharacters); } if (Reason != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Reason", 1); _Writer.WriteString (Reason); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((Goedel.Protocol.Request)this).SerializeX(_Writer, false, ref _first); if (Portal != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Portal", 1); _Writer.WriteString (Portal); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((ApplicationProfilePrivate)this).SerializeX(_Writer, false, ref _first); if (Account != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Account", 1); _Writer.WriteString (Account); } if (DeviceEntries != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("DeviceEntries", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in DeviceEntries) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (HostEntries != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("HostEntries", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in HostEntries) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Identifier != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Identifier", 1); _Writer.WriteString (Identifier); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((Resource)this).SerializeX(_Writer, false, ref _first); if (Account != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Account", 1); _Writer.WriteString (Account); } if (Administrators != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Administrators", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Administrators) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (Readers != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Readers", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Readers) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((ApplicationProfile)this).SerializeX(_Writer, false, ref _first); if (EncryptionPGP != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("EncryptionPGP", 1); EncryptionPGP.Serialize (_Writer, false); } if (EncryptionSMIME != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("EncryptionSMIME", 1); EncryptionSMIME.Serialize (_Writer, false); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (__Major){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Major", 1); _Writer.WriteInteger32 (Major); } if (__Minor){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Minor", 1); _Writer.WriteInteger32 (Minor); } if (Encodings != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Encodings", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Encodings) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (URI != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("URI", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in URI) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteString (_index); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshRequest)this).SerializeX(_Writer, false, ref _first); if (SearchConstraints != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("SearchConstraints", 1); SearchConstraints.Serialize (_Writer, false); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshResponse)this).SerializeX(_Writer, false, ref _first); if (DataItems != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("DataItems", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in DataItems) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (PageKey != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("PageKey", 1); _Writer.WriteString (PageKey); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshResponse)this).SerializeX(_Writer, false, ref _first); if (__LastWriteTime){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("LastWriteTime", 1); _Writer.WriteDateTime (LastWriteTime); } if (__LastCheckpointTime){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("LastCheckpointTime", 1); _Writer.WriteDateTime (LastCheckpointTime); } if (__NextCheckpointTime){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("NextCheckpointTime", 1); _Writer.WriteDateTime (NextCheckpointTime); } if (CheckpointValue != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("CheckpointValue", 1); _Writer.WriteString (CheckpointValue); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshRequest)this).SerializeX(_Writer, false, ref _first); if (Result != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Result", 1); Result.Serialize (_Writer, false); } if (AccountID != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("AccountID", 1); _Writer.WriteString (AccountID); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshRequest)this).SerializeX(_Writer, false, ref _first); if (Entry != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Entry", 1); // expand this to a tagged structure //Entry.Serialize (_Writer, false); { _Writer.WriteObjectStart(); _Writer.WriteToken(Entry.Tag(), 1); bool firstinner = true; Entry.Serialize (_Writer, true, ref firstinner); _Writer.WriteObjectEnd(); } } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshRequest)this).SerializeX(_Writer, false, ref _first); if (Identifier != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Identifier", 1); _Writer.WriteString (Identifier); } if (Account != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Account", 1); _Writer.WriteString (Account); } if (KeyValues != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("KeyValues", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in KeyValues) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (SearchConstraints != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("SearchConstraints", 1); SearchConstraints.Serialize (_Writer, false); } if (__Multiple){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Multiple", 1); _Writer.WriteBoolean (Multiple); } if (__Full){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Full", 1); _Writer.WriteBoolean (Full); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshRequest)this).SerializeX(_Writer, false, ref _first); if (Account != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Account", 1); _Writer.WriteString (Account); } if (Profile != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Profile", 1); // expand this to a tagged structure //Profile.Serialize (_Writer, false); { _Writer.WriteObjectStart(); _Writer.WriteToken(Profile.Tag(), 1); bool firstinner = true; Profile.Serialize (_Writer, true, ref firstinner); _Writer.WriteObjectEnd(); } } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Type != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Type", 1); _Writer.WriteString (Type); } if (Content != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Content", 1); _Writer.WriteString (Content); } if (Comment != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Comment", 1); _Writer.WriteString (Comment); } if (Digest != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Digest", 1); _Writer.WriteString (Digest); } if (LastDigest != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("LastDigest", 1); _Writer.WriteBinary (LastDigest); } if (Delta != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Delta", 1); Delta.Serialize (_Writer, false); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Sites != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Sites", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Sites) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteString (_index); } _Writer.WriteArrayEnd (); } if (DNS != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("DNS", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in DNS) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (Prefix != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Prefix", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Prefix) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteString (_index); } _Writer.WriteArrayEnd (); } if (CTL != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("CTL", 1); _Writer.WriteBinary (CTL); } if (WebPKI != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("WebPKI", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in WebPKI) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteString (_index); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Parent != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Parent", 1); _Writer.WriteString (Parent); } if (Previous != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Previous", 1); _Writer.WriteString (Previous); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Type != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Type", 1); _Writer.WriteString (Type); } if (Term != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Term", 1); _Writer.WriteString (Term); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (EmailAddress != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("EmailAddress", 1); _Writer.WriteString (EmailAddress); } if (ReplyToAddress != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("ReplyToAddress", 1); _Writer.WriteString (ReplyToAddress); } if (DisplayName != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("DisplayName", 1); _Writer.WriteString (DisplayName); } if (AccountName != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("AccountName", 1); _Writer.WriteString (AccountName); } if (Inbound != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Inbound", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Inbound) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (Outbound != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Outbound", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Outbound) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (Sign != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Sign", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Sign) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (Encrypt != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Encrypt", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Encrypt) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Digest != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Digest", 1); _Writer.WriteBinary (Digest); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (ID != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("ID", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in ID) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteString (_index); } _Writer.WriteArrayEnd (); } if (Dictionary != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Dictionary", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Dictionary) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteString (_index); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Key != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Key", 1); _Writer.WriteString (Key); } if (__Offset){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Offset", 1); _Writer.WriteInteger32 (Offset); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((Resource)this).SerializeX(_Writer, false, ref _first); if (Account != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Account", 1); _Writer.WriteString (Account); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Key != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Key", 1); _Writer.WriteString (Key); } if (Entries != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Entries", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Entries) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((RecryptResponse)this).SerializeX(_Writer, false, ref _first); if (Version != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Version", 1); Version.Serialize (_Writer, false); } if (Alternates != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Alternates", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Alternates) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (Data != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Data", 1); _Writer.WriteString (Data); } if (Offset != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Offset", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Offset) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteInteger32 (_index); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((Goedel.Protocol.Response)this).SerializeX(_Writer, false, ref _first); if (__Status){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Status", 1); _Writer.WriteInteger32 (Status); } if (StatusDescription != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("StatusDescription", 1); _Writer.WriteString (StatusDescription); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } if (TransactionID != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("TransactionID", 1); _Writer.WriteString (TransactionID); } if (PrimaryKey != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("PrimaryKey", 1); _Writer.WriteString (PrimaryKey); } if (PriorTransactionID != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("PriorTransactionID", 1); _Writer.WriteString (PriorTransactionID); } if (Action != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Action", 1); _Writer.WriteString (Action); } if (__Added){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Added", 1); _Writer.WriteDateTime (Added); } if (Keys != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Keys", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Keys) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteObjectStart(); _Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); _Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (Data != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Data", 1); _Writer.WriteBinary (Data); } if (Text != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Text", 1); _Writer.WriteString (Text); } if (__Pending){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Pending", 1); _Writer.WriteBoolean (Pending); } if (__Commit){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Commit", 1); _Writer.WriteBoolean (Commit); } if (__Rollback){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Rollback", 1); _Writer.WriteBoolean (Rollback); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((Entry)this).SerializeX(_Writer, false, ref _first); if (HostConnection != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("HostConnection", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in HostConnection) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (HostKeys != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("HostKeys", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in HostKeys) { _Writer.WriteArraySeparator (ref _firstarray); // This is an untagged structure. Cannot inherit. //_Writer.WriteObjectStart(); //_Writer.WriteToken(_index.Tag(), 1); bool firstinner = true; _index.Serialize (_Writer, true, ref firstinner); //_Writer.WriteObjectEnd(); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }
/// <summary> /// Serialize this object to the specified output stream. /// Unlike the Serlialize() method, this method is not inherited from the /// parent class allowing a specific version of the method to be called. /// </summary> /// <param name="_Writer">Output stream</param> /// <param name="_wrap">If true, output is wrapped with object /// start and end sequences '{ ... }'.</param> /// <param name="_first">If true, item is the first entry in a list.</param> public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) { if (_wrap) { _Writer.WriteObjectStart (); } ((MeshRequest)this).SerializeX(_Writer, false, ref _first); if (Account != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Account", 1); _Writer.WriteString (Account); } if (__Reserve){ _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Reserve", 1); _Writer.WriteBoolean (Reserve); } if (Language != null) { _Writer.WriteObjectSeparator (ref _first); _Writer.WriteToken ("Language", 1); _Writer.WriteArrayStart (); bool _firstarray = true; foreach (var _index in Language) { _Writer.WriteArraySeparator (ref _firstarray); _Writer.WriteString (_index); } _Writer.WriteArrayEnd (); } if (_wrap) { _Writer.WriteObjectEnd (); } }