DictionaryManager.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / DictionaryManager.cs / 1 / DictionaryManager.cs

                            //------------------------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------------------------

namespace System.IdentityModel 
{
    using System; 
    using System.Xml; 

    internal class DictionaryManager 
    {
        SamlDictionary samlDictionary;
        XmlSignatureDictionary sigantureDictionary;
        UtilityDictionary utilityDictionary; 
        ExclusiveC14NDictionary exclusiveC14NDictionary;
        SecurityAlgorithmDictionary securityAlgorithmDictionary; 
        IXmlDictionary parentDictionary; 

        public DictionaryManager() 
        {
            this.samlDictionary = XD.SamlDictionary;
            this.sigantureDictionary = XD.XmlSignatureDictionary;
            this.utilityDictionary = XD.UtilityDictionary; 
            this.exclusiveC14NDictionary = XD.ExclusiveC14NDictionary;
            this.securityAlgorithmDictionary = XD.SecurityAlgorithmDictionary; 
            this.parentDictionary = XD.Dictionary; 
        }
 
        public DictionaryManager(IXmlDictionary parentDictionary)
        {
            this.samlDictionary = new SamlDictionary(parentDictionary);
            this.sigantureDictionary = new XmlSignatureDictionary(parentDictionary); 
            this.utilityDictionary = new UtilityDictionary(parentDictionary);
            this.exclusiveC14NDictionary = new ExclusiveC14NDictionary(parentDictionary); 
            this.securityAlgorithmDictionary = new SecurityAlgorithmDictionary(parentDictionary); 
            this.parentDictionary = parentDictionary;
        } 

        public SamlDictionary SamlDictionary
        {
            get { return this.samlDictionary; } 
        }
 
        public XmlSignatureDictionary XmlSignatureDictionary 
        {
            get { return this.sigantureDictionary; } 
        }

        public UtilityDictionary UtilityDictionary
        { 
            get { return this.utilityDictionary; }
        } 
 
        public ExclusiveC14NDictionary ExclusiveC14NDictionary
        { 
            get { return this.exclusiveC14NDictionary; }
        }

        public SecurityAlgorithmDictionary SecurityAlgorithmDictionary 
        {
            get { return this.securityAlgorithmDictionary; } 
        } 

        public IXmlDictionary ParentDictionary 
        {
            get { return this.parentDictionary; }
        }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK