コード例 #1
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        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");
                }
        }
コード例 #2
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Administrator");
                }

            Output.WriteAttribute ("Account", Account);
            if (tag) {
                Output.EndElement ("Administrator");
                }
        }
コード例 #3
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Authentication");
                }

            Output.WriteAttribute ("Algorithm", Algorithm);
            if (tag) {
                Output.EndElement ("Authentication");
                }
        }
コード例 #4
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Ticket");
                }

            Output.WriteAttribute ("Data", Data);
            if (tag) {
                Output.EndElement ("Ticket");
                }
        }
コード例 #5
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Address");
                }

            Output.WriteAttribute ("IP", IP);
            if (tag) {
                Output.EndElement ("Address");
                }
        }
コード例 #6
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Scope");
                }

            Output.WriteAttribute ("Domain", Domain);
            if (tag) {
                Output.EndElement ("Scope");
                }
        }
コード例 #7
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        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");
                }
        }
コード例 #8
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Expires");
                }

            Output.WriteAttribute ("Expiry", Expiry);
            if (tag) {
                Output.EndElement ("Expires");
                }
        }
コード例 #9
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        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");
                }
        }
コード例 #10
0
ファイル: Configure.cs プロジェクト: hallambaker/Omnibroker
        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");
                }
        }