public virtual void DeserializeToken(JSONReader JSONReader, string Tag) { switch (Tag) { case "Protocol" : { Protocol = JSONReader.ReadString (); break; } case "Secret" : { Secret = JSONReader.ReadBinary (); break; } case "Encryption" : { Encryption = JSONReader.ReadString (); break; } case "Authentication" : { Authentication = JSONReader.ReadString (); break; } case "Ticket" : { Ticket = JSONReader.ReadBinary (); break; } case "Expires" : { Expires = JSONReader.ReadDateTime (); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader"></param> /// <param name="Tag"></param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "ID" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); ID = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); ID.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "Dictionary" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Dictionary = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); Dictionary.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Account" : { Account = JSONReader.ReadString (); break; } case "DeviceEntries" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); DeviceEntries = new List <DeviceEntry> (); while (_Going) { // an untagged structure. var _Item = new DeviceEntry (JSONReader); DeviceEntries.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "HostEntries" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); HostEntries = new List <HostEntry> (); while (_Going) { // an untagged structure. var _Item = new HostEntry (JSONReader); HostEntries.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Type" : { Type = JSONReader.ReadString (); break; } case "Content" : { Content = JSONReader.ReadString (); break; } case "Comment" : { Comment = JSONReader.ReadString (); break; } case "Digest" : { Digest = JSONReader.ReadString (); break; } case "LastDigest" : { LastDigest = JSONReader.ReadBinary (); break; } case "Delta" : { // An untagged structure Delta = new Delta (JSONReader); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader"></param> /// <param name="Tag"></param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Status" : { Status = JSONReader.ReadInteger32 (); break; } case "StatusDescription" : { StatusDescription = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Key" : { Key = JSONReader.ReadString (); break; } case "Offset" : { Offset = JSONReader.ReadInteger32 (); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Data" : { Data = JSONReader.ReadString (); break; } case "Offset" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Offset = new List <int> (); while (_Going) { int _Item = JSONReader.ReadInteger32 (); Offset.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Valid" : { Valid = JSONReader.ReadBoolean (); break; } case "Minimum" : { Minimum = JSONReader.ReadInteger32 (); break; } case "Maximum" : { Maximum = JSONReader.ReadInteger32 (); break; } case "InvalidCharacters" : { InvalidCharacters = JSONReader.ReadString (); break; } case "Reason" : { Reason = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Account" : { Account = JSONReader.ReadString (); break; } case "Profile" : { Profile = SignedProfile.FromTagged (JSONReader) ; // A tagged structure break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "NotBefore" : { NotBefore = JSONReader.ReadDateTime (); break; } case "Before" : { Before = JSONReader.ReadDateTime (); break; } case "MaxEntries" : { MaxEntries = JSONReader.ReadInteger32 (); break; } case "MaxBytes" : { MaxBytes = JSONReader.ReadInteger32 (); break; } case "PageKey" : { PageKey = JSONReader.ReadString (); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Account" : { Account = JSONReader.ReadString (); break; } case "Reserve" : { Reserve = JSONReader.ReadBoolean (); break; } case "Language" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Language = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); Language.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader"></param> /// <param name="Tag"></param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "AccountID" : { AccountID = JSONReader.ReadString (); break; } case "UserProfileUDF" : { UserProfileUDF = JSONReader.ReadString (); break; } case "Status" : { Status = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Sites" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Sites = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); Sites.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "Username" : { Username = JSONReader.ReadString (); break; } case "Password" : { Password = JSONReader.ReadString (); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "AutoGenerate" : { AutoGenerate = JSONReader.ReadBoolean (); break; } case "Entries" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Entries = new List <PasswordEntry> (); while (_Going) { // an untagged structure. var _Item = new PasswordEntry (JSONReader); Entries.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "NeverAsk" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); NeverAsk = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); NeverAsk.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Parent" : { Parent = JSONReader.ReadString (); break; } case "Previous" : { Previous = JSONReader.ReadString (); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Identifier" : { Identifier = JSONReader.ReadString (); break; } case "Account" : { Account = JSONReader.ReadString (); break; } case "KeyValues" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); KeyValues = new List <KeyValue> (); while (_Going) { // an untagged structure. var _Item = new KeyValue (JSONReader); KeyValues.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "SearchConstraints" : { // An untagged structure SearchConstraints = new SearchConstraints (JSONReader); break; } case "Multiple" : { Multiple = JSONReader.ReadBoolean (); break; } case "Full" : { Full = JSONReader.ReadBoolean (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Type" : { Type = JSONReader.ReadString (); break; } case "Term" : { Term = JSONReader.ReadString (); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Entries" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Entries = new List <Entry> (); while (_Going) { var _Item = Entry.FromTagged (JSONReader); // a tagged structure Entries.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "DataItems" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); DataItems = new List <DataItem> (); while (_Going) { // an untagged structure. var _Item = new DataItem (JSONReader); DataItems.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "PageKey" : { PageKey = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Key" : { Key = JSONReader.ReadString (); break; } case "Entries" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Entries = new List <IndexEntry> (); while (_Going) { // an untagged structure. var _Item = new IndexEntry (JSONReader); Entries.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "LastWriteTime" : { LastWriteTime = JSONReader.ReadDateTime (); break; } case "LastCheckpointTime" : { LastCheckpointTime = JSONReader.ReadDateTime (); break; } case "NextCheckpointTime" : { NextCheckpointTime = JSONReader.ReadDateTime (); break; } case "CheckpointValue" : { CheckpointValue = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "TransactionID" : { TransactionID = JSONReader.ReadString (); break; } case "PrimaryKey" : { PrimaryKey = JSONReader.ReadString (); break; } case "PriorTransactionID" : { PriorTransactionID = JSONReader.ReadString (); break; } case "Action" : { Action = JSONReader.ReadString (); break; } case "Added" : { Added = JSONReader.ReadDateTime (); break; } case "Keys" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Keys = new List <IndexTerm> (); while (_Going) { var _Item = IndexTerm.FromTagged (JSONReader); // a tagged structure Keys.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "Data" : { Data = JSONReader.ReadBinary (); break; } case "Text" : { Text = JSONReader.ReadString (); break; } case "Pending" : { Pending = JSONReader.ReadBoolean (); break; } case "Commit" : { Commit = JSONReader.ReadBoolean (); break; } case "Rollback" : { Rollback = JSONReader.ReadBoolean (); break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "AccountID" : { AccountID = JSONReader.ReadString (); break; } case "SearchConstraints" : { // An untagged structure SearchConstraints = new SearchConstraints (JSONReader); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "EmailAddress" : { EmailAddress = JSONReader.ReadString (); break; } case "ReplyToAddress" : { ReplyToAddress = JSONReader.ReadString (); break; } case "DisplayName" : { DisplayName = JSONReader.ReadString (); break; } case "AccountName" : { AccountName = JSONReader.ReadString (); break; } case "Inbound" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Inbound = new List <Connection> (); while (_Going) { // an untagged structure. var _Item = new Connection (JSONReader); Inbound.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "Outbound" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Outbound = new List <Connection> (); while (_Going) { // an untagged structure. var _Item = new Connection (JSONReader); Outbound.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "Sign" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Sign = new List <PublicKey> (); while (_Going) { // an untagged structure. var _Item = new PublicKey (JSONReader); Sign.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "Encrypt" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Encrypt = new List <PublicKey> (); while (_Going) { // an untagged structure. var _Item = new PublicKey (JSONReader); Encrypt.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Pending" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Pending = new List <SignedConnectionRequest> (); while (_Going) { // an untagged structure. var _Item = new SignedConnectionRequest (JSONReader); Pending.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "PageKey" : { PageKey = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader"></param> /// <param name="Tag"></param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Major" : { Major = JSONReader.ReadInteger32 (); break; } case "Minor" : { Minor = JSONReader.ReadInteger32 (); break; } case "Encodings" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Encodings = new List <Encoding> (); while (_Going) { // an untagged structure. var _Item = new Encoding (JSONReader); Encodings.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "URI" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); URI = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); URI.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Result" : { // An untagged structure Result = new SignedConnectionResult (JSONReader); break; } case "AccountID" : { AccountID = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader"></param> /// <param name="Tag"></param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Portal" : { Portal = JSONReader.ReadString (); break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "Sites" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Sites = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); Sites.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "DNS" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); DNS = new List <Connection> (); while (_Going) { // an untagged structure. var _Item = new Connection (JSONReader); DNS.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "Prefix" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); Prefix = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); Prefix.Add (_Item); _Going = JSONReader.NextArray (); } break; } case "CTL" : { CTL = JSONReader.ReadBinary (); break; } case "WebPKI" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); WebPKI = new List <string> (); while (_Going) { string _Item = JSONReader.ReadString (); WebPKI.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { break; } } // check up that all the required elements are present }
/// <summary> /// Having read a tag, process the corresponding value data. /// </summary> /// <param name="JSONReader">The input stream</param> /// <param name="Tag">The tag</param> public override void DeserializeToken (JSONReader JSONReader, string Tag) { switch (Tag) { case "UDF" : { UDF = JSONReader.ReadString (); break; } case "UserKeys" : { // Have a sequence of values bool _Going = JSONReader.StartArray (); UserKeys = new List <PublicKey> (); while (_Going) { // an untagged structure. var _Item = new PublicKey (JSONReader); UserKeys.Add (_Item); _Going = JSONReader.NextArray (); } break; } default : { base.DeserializeToken(JSONReader, Tag); break; } } // check up that all the required elements are present }
public virtual void DeserializeToken(JSONReader JSONReader, string Tag) { switch (Tag) { case "Name" : { Name = JSONReader.ReadString (); break; } case "Port" : { Port = JSONReader.ReadInteger32 (); break; } case "Address" : { Address = JSONReader.ReadString (); break; } case "Priority" : { Priority = JSONReader.ReadInteger32 (); break; } case "Weight" : { Weight = JSONReader.ReadInteger32 (); break; } case "Transport" : { Transport = JSONReader.ReadString (); break; } case "Expires" : { Expires = JSONReader.ReadDateTime (); break; } case "Cryptographic" : { Cryptographic = new Cryptographic (JSONReader); break; } default : { break; } } // check up that all the required elements are present }