private void AllowExtensionsToReflectMethod()
 {
     if (this.extensions == null)
     {
         TypeElementCollection soapExtensionReflectorTypes = WebServicesSection.Current.SoapExtensionReflectorTypes;
         this.extensions = new SoapExtensionReflector[soapExtensionReflectorTypes.Count];
         for (int i = 0; i < this.extensions.Length; i++)
         {
             SoapExtensionReflector reflector = (SoapExtensionReflector)Activator.CreateInstance(soapExtensionReflectorTypes[i].Type);
             reflector.ReflectionContext = this;
             this.extensions[i]          = reflector;
         }
     }
     foreach (SoapExtensionReflector reflector2 in this.extensions)
     {
         reflector2.ReflectMethod();
     }
 }
Exemplo n.º 2
0
 void AllowExtensionsToReflectMethod()
 {
     if (extensions == null)
     {
         Type[] extensionTypes = WebServicesConfiguration.Current.SoapExtensionReflectorTypes;
         extensions = new SoapExtensionReflector[extensionTypes.Length];
         for (int i = 0; i < extensions.Length; i++)
         {
             SoapExtensionReflector extension = (SoapExtensionReflector)Activator.CreateInstance(extensionTypes[i]);
             extension.ReflectionContext = this;
             extensions[i] = extension;
         }
     }
     foreach (SoapExtensionReflector extension in extensions)
     {
         extension.ReflectMethod();
     }
 }
Exemplo n.º 3
0
 void AllowExtensionsToReflectDescription()
 {
     if (extensions == null)
     {
         TypeElementCollection extensionTypes = WebServicesSection.Current.SoapExtensionReflectorTypes;
         extensions = new SoapExtensionReflector[extensionTypes.Count];
         for (int i = 0; i < extensions.Length; i++)
         {
             SoapExtensionReflector extension = (SoapExtensionReflector)Activator.CreateInstance(extensionTypes[i].Type);
             extension.ReflectionContext = this;
             extensions[i] = extension;
         }
     }
     foreach (SoapExtensionReflector extension in extensions)
     {
         extension.ReflectDescription();
     }
 }
Exemplo n.º 4
0
		public Soap12ProtocolReflector ()
		{
			reflector = new Soap12BindingExtensionReflector ();
			reflector.ReflectionContext = this;
		}
Exemplo n.º 5
0
 public Soap12ProtocolReflector()
 {
     reflector = new Soap12BindingExtensionReflector();
     reflector.ReflectionContext = this;
 }