internal SoapExtension CreateInstance(object initializer)
        {
            SoapExtension extension = (SoapExtension)Activator.CreateInstance(this.type);

            extension.Initialize(initializer);
            return(extension);
        }
Пример #2
0
 static int CreateExtensionChain(SoapExtensionRuntimeConfig[] extensionConfigs, SoapExtension[] destArray, int pos)
 {
     for (int n = 0; n < extensionConfigs.Length; n++)
     {
         SoapExtensionRuntimeConfig econf = extensionConfigs [n];
         SoapExtension ext = (SoapExtension)Activator.CreateInstance(econf.Type);
         ext.Initialize(econf.InitializationInfo);
         destArray [pos++] = ext;
     }
     return(pos);
 }