1 write to ImportContext
System.Web.Services (1)
System\Web\Services\Description\SoapProtocolImporter.cs (1)
415transportImporter.ImportContext = this;
10 references to ImportContext
System.Web.Services (10)
System\Web\Services\Description\SoapHttpTransportImporter.cs (10)
18SoapAddressBinding soapAddress = ImportContext.Port == null ? null : (SoapAddressBinding)ImportContext.Port.Extensions.Find(typeof(SoapAddressBinding)); 19if (ImportContext.Style == ServiceDescriptionImportStyle.Client) { 20ImportContext.CodeTypeDeclaration.BaseTypes.Add(typeof(SoapHttpClientProtocol).FullName); 21CodeConstructor ctor = WebCodeGenerator.AddConstructor(ImportContext.CodeTypeDeclaration, new string[0], new string[0], null, CodeFlags.IsPublic); 24if (ImportContext is Soap12ProtocolImporter) { 33ServiceDescription serviceDescription = ImportContext.Binding.ServiceDescription; 37ProtocolImporterUtil.GenerateConstructorStatements(ctor, url, urlKey, baseUrl, soap11 && !ImportContext.IsEncodedBinding); 39else if (ImportContext.Style == ServiceDescriptionImportStyle.Server) { 40ImportContext.CodeTypeDeclaration.BaseTypes.Add(typeof(WebService).FullName);