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(); } }
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(); } }
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(); } }
public Soap12ProtocolReflector () { reflector = new Soap12BindingExtensionReflector (); reflector.ReflectionContext = this; }
public Soap12ProtocolReflector() { reflector = new Soap12BindingExtensionReflector(); reflector.ReflectionContext = this; }