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