示例#1
0
文件: DXD.cs 项目: Potapy4/dotnet-wcf
        static DXD()
        {
            // Each string added to the XmlDictionary will keep a reference to the XmlDictionary so this class does
            // not need to keep a reference.
            XmlDictionary dictionary = new XmlDictionary(137);

            // Each dictionaries' constructor should add strings to the XmlDictionary.
            s_atomicTransactionExternal11Dictionary = new AtomicTransactionExternal11Dictionary(dictionary);
            s_coordinationExternal11Dictionary      = new CoordinationExternal11Dictionary(dictionary);
            s_secureConversationDec2005Dictionary   = new SecureConversationDec2005Dictionary(dictionary);
            s_secureConversationDec2005Dictionary.PopulateSecureConversationDec2005();
            s_securityAlgorithmDec2005Dictionary = new SecurityAlgorithmDec2005Dictionary(dictionary);
            s_securityAlgorithmDec2005Dictionary.PopulateSecurityAlgorithmDictionaryString();
            s_trustDec2005Dictionary = new TrustDec2005Dictionary(dictionary);
            s_trustDec2005Dictionary.PopulateDec2005DictionaryStrings();
            s_trustDec2005Dictionary.PopulateFeb2005DictionaryString();
            s_wsrm11Dictionary = new Wsrm11Dictionary(dictionary);
        }
示例#2
0
        static DXD()
        {
            // Each string added to the XmlDictionary will keep a reference to the XmlDictionary so this class does
            // not need to keep a reference.
            XmlDictionary dictionary = new XmlDictionary(137);

            // Each dictionaries' constructor should add strings to the XmlDictionary.
            atomicTransactionExternal11Dictionary = new AtomicTransactionExternal11Dictionary(dictionary);
            coordinationExternal11Dictionary = new CoordinationExternal11Dictionary(dictionary);
            secureConversationDec2005Dictionary = new SecureConversationDec2005Dictionary(dictionary);
            secureConversationDec2005Dictionary.PopulateSecureConversationDec2005();
            securityAlgorithmDec2005Dictionary = new SecurityAlgorithmDec2005Dictionary(dictionary);
            securityAlgorithmDec2005Dictionary.PopulateSecurityAlgorithmDictionaryString();
            trustDec2005Dictionary = new TrustDec2005Dictionary(dictionary);
            trustDec2005Dictionary.PopulateDec2005DictionaryStrings();
            trustDec2005Dictionary.PopulateFeb2005DictionaryString();
            wsrm11Dictionary = new Wsrm11Dictionary(dictionary);
        }