Example #1
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Client");
                }

            Output.WriteId ("Id", Id.ToString());
            Output.WriteAttribute ("Account", Account);
            Output.WriteAttribute ("Service", Service);
            Output.StartList ("");
            foreach (Scope _e in Scopes) {
                _e.Serialize (Output, true);
                }
            // public Secret  Secret = new  Secret();
            Secret.Serialize (Output, true);
            // public Ticket  Ticket = new  Ticket();
            Ticket.Serialize (Output, true);
            // public Encryption  EncryptionAlgorithm = new  Encryption();
            EncryptionAlgorithm.Serialize (Output, true);
            // public Authentication  AuthenticationAlgorithm = new  Authentication();
            AuthenticationAlgorithm.Serialize (Output, true);
            // public Expires  Expires = new  Expires();
            Expires.Serialize (Output, true);
            foreach (Connection _e in Connections) {
                _e.Serialize (Output, true);
                }
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Client");
                }
        }
Example #2
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Connection");
                }

            Output.StartList ("");
            foreach (Scope _e in Scopes) {
                _e.Serialize (Output, true);
                }
            // public Secret  Secret = new  Secret();
            Secret.Serialize (Output, true);
            // public Ticket  Ticket = new  Ticket();
            Ticket.Serialize (Output, true);
            // public Encryption  EncryptionAlgorithm = new  Encryption();
            EncryptionAlgorithm.Serialize (Output, true);
            // public Authentication  AuthenticationAlgorithm = new  Authentication();
            AuthenticationAlgorithm.Serialize (Output, true);
            // public Expires  Expires = new  Expires();
            Expires.Serialize (Output, true);
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Connection");
                }
        }
Example #3
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Query");
                }

            Output.WriteId ("Id", Id.ToString());
            Output.StartList ("");
            foreach (Seed _e in Secret) {
                _e.Serialize (Output, true);
                }
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Query");
                }
        }
Example #4
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Connect");
                }

            Output.WriteId ("Id", Id.ToString());
            Output.WriteAttribute ("Domain", Domain);
            Output.StartList ("");
            // public Port  Port = new  Port();
            Port.Serialize (Output, true);
            foreach (Seed _e in Secrets) {
                _e.Serialize (Output, true);
                }
            foreach (Encryption _e in EncryptionAlgorithms) {
                _e.Serialize (Output, true);
                }
            foreach (Authentication _e in AuthenticationAlgorithms) {
                _e.Serialize (Output, true);
                }
            foreach (Administrator _e in Administrators) {
                _e.Serialize (Output, true);
                }
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Connect");
                }
        }