4 instantiations of WsdlImporter
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (2)
2932wsdlImporter = new WsdlImporter(metadataSet, importer.PolicyImportExtensions, currentWsdlImporter.WsdlImportExtensions); 2936wsdlImporter = new WsdlImporter(metadataSet, importer.PolicyImportExtensions, null);
Metadata\ServiceDescriptor.cs (2)
296new WsdlImporter(metadataSet, policyImportExtensions, wsdlImportExtensions, MetadataImporterQuotas.Max) : 297new WsdlImporter(metadataSet, policyImportExtensions, wsdlImportExtensions);
81 references to WsdlImporter
dotnet-svcutil-lib (81)
CodeDomFixup\EndpointSelector.cs (1)
20public EndpointSelector(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\IWcfCodeGenerationExtension.cs (2)
31void WsdlImporting(WsdlImporter importer); 55void WsdlImported(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts);
CodeDomFixup\MetadataFixup.cs (5)
14public static IFixup[] GetPreFixups(WsdlImporter importer) 21public static IFixup[] GetPostFixups(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts) 31protected readonly WsdlImporter importer; 37protected MetadataFixup(WsdlImporter importer) : this(importer, null, null, null) { } 38protected MetadataFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\NoMessageHeaderFixup.cs (1)
13public NoMessageHeaderFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\NoSoapEncodingFixup.cs (1)
15public NoSoapEncodingFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\WcfCodeGenerationExtension.cs (3)
33public void WsdlImporting(WsdlImporter importer) 40public void WsdlImported(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts) 109private static bool IsVB(WsdlImporter importer)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CompositeDuplexBindingElementImporter.cs (1)
33|| WsdlImporter.WSAddressingHelper.DetermineSupportedAddressingMode(importer, context) == SupportedAddressingMode.NonAnonymous)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (2)
27public void ImportContract(WsdlImporter importer, WsdlContractConversionContext context) 32public void ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext context)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (5)
19void IWsdlImportExtension.ImportContract(WsdlImporter importer, WsdlContractConversionContext context) { } 20void IWsdlImportExtension.ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext context) 77string wsaAction = WsdlImporter.WSAddressingHelper.FindWsaActionAttribute(wsdlOperationFault); 96string wsaAction = WsdlImporter.WSAddressingHelper.FindWsaActionAttribute(wsdlOperationMessage); 187AddressingVersion addressingVersion = WsdlImporter.WSAddressingHelper.FindAddressingVersion(context);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
50else if (WsdlImporter.WSAddressingHelper.DetermineSupportedAddressingMode(importer, context) == SupportedAddressingMode.NonAnonymous)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (2)
18void IWsdlImportExtension.ImportContract(WsdlImporter importer, WsdlContractConversionContext context) { } 20void IWsdlImportExtension.ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext endpointContext)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (7)
26WsdlImporter.SoapInPolicyWorkaroundHelper.InsertAdHocTransportPolicy(wsdlDocuments); 29void IWsdlImportExtension.ImportContract(WsdlImporter importer, WsdlContractConversionContext context) { } 31void IWsdlImportExtension.ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext context) 85EndpointAddress address = context.Endpoint.Address = WsdlImporter.WSAddressingHelper.ImportAddress(context.WsdlPort); 100private static void CreateLegacyTransportBindingElement(WsdlImporter importer, WsdlNS.SoapBinding soapBinding, WsdlEndpointConversionContext context) 123string transportUri = WsdlImporter.SoapInPolicyWorkaroundHelper.FindAdHocTransportPolicy(policyContext, out wsdlBindingQName); 215internal static bool IsRegisteredTransportBindingElement(WsdlImporter importer, WsdlEndpointConversionContext context)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (5)
35WsdlImporter.SoapInPolicyWorkaroundHelper.InsertAdHocPolicy(wsdlBinding, soapBinding.Transport, _udpTransportUriKey); 47string transportUri = WsdlImporter.SoapInPolicyWorkaroundHelper.FindAdHocPolicy(context, _udpTransportUriKey, out wsdlBindingQName); 59public void ImportContract(WsdlImporter importer, WsdlContractConversionContext context) 63public void ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext context) 109address = context.Endpoint.Address = WsdlImporter.WSAddressingHelper.ImportAddress(context.WsdlPort);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerMessageContractImporter.cs (4)
31void IWsdlImportExtension.ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext endpointContext) 40void IWsdlImportExtension.ImportContract(WsdlImporter importer, WsdlContractConversionContext contractContext) 60void IWsdlImportExtension.ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext endpointContext) 68void IWsdlImportExtension.ImportContract(WsdlImporter importer, WsdlContractConversionContext contractContext)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\IWsdlImportExtension.cs (2)
16void ImportContract(WsdlImporter importer, WsdlContractConversionContext context); 17void ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext context);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (12)
32private readonly WsdlImporter _importer; 50static internal void ImportMessageBinding(WsdlImporter importer, WsdlEndpointConversionContext endpointContext, Type schemaImporterType) 87private static bool IsReferencedContract(WsdlImporter importer, WsdlEndpointConversionContext endpointContext) 120static internal void ImportMessageContract(WsdlImporter importer, WsdlContractConversionContext contractContext, SchemaImporter schemaImporter) 125private MessageContractImporter(WsdlImporter importer, WsdlContractConversionContext contractContext, SchemaImporter schemaImporter) 836private static XmlSchemaSet GatherSchemas(WsdlImporter importer) 1442readonly protected WsdlImporter importer; 1444internal SchemaImporter(WsdlImporter importer) 1550public DataContractSerializerSchemaImporter(WsdlImporter importer) 1625internal static DataContractSerializerSchemaImporter Get(WsdlImporter importer) 1908public XmlSerializerSchemaImporter(WsdlImporter importer) 1982internal static XmlSerializerSchemaImporter Get(WsdlImporter importer)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlContractConversionContext.cs (2)
156if (WsdlImporter.Binding2DescriptionHelper.Match(operationBinding, operation) != WsdlImporter.Binding2DescriptionHelper.MatchResult.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (7)
1488if (WsdlImporter.WsdlPolicyReader.ContainsPolicy(wsdlBinding)) 1492WsdlImporter 1979private WsdlImporter _importer; 1984internal WsdlPolicyReader(WsdlImporter importer) 2296internal WsdlPolicyDictionary(WsdlImporter importer) 2320private void AddEmbeddedPolicy(WsdlImporter importer, WsdlNS.ServiceDescription wsdl, XmlElement element) 2349private void AddExternalPolicy(WsdlImporter importer, KeyValuePair<string, XmlElement> policyDocument)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (3)
2925WsdlImporter wsdlImporter; 2929WsdlImporter currentWsdlImporter = importer as WsdlImporter;
ImportModule.cs (9)
28private readonly WsdlImporter _wsdlImporter; 42internal ImportModule(CommandProcessorOptions options, ServiceDescriptor serviceDescriptor, WsdlImporter importer) 283public static void ConfigureSerializers(CommandProcessorOptions options, CodeCompileUnit codeCompileUnit, WsdlImporter importer) 332private static void AddStateForXmlSerializerImport(CommandProcessorOptions options, WsdlImporter importer, CodeCompileUnit codeCompileUnit) 356private static void AddStateForDataContractSerializerImport(CommandProcessorOptions options, WsdlImporter importer, CodeCompileUnit codeCompileUnit) 382void IWsdlImportExtension.ImportContract(WsdlImporter importer, WsdlContractConversionContext context) { } 384void IWsdlImportExtension.ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext context) 431public void ImportContract(WsdlImporter importer, WsdlContractConversionContext context) { } 432public void ImportEndpoint(WsdlImporter importer, WsdlEndpointConversionContext context)
Metadata\ServiceDescriptor.cs (6)
93public async Task ImportMetadataAsync(Action<WsdlImporter> onWsdlImporterCreated, Action<ServiceDescriptor> onBeforeMetadataImport, Func<ServiceDescriptor, bool> onAfterMetadataImport, CancellationToken cancellationToken) 158WsdlImporter wsdlImporter; 183private void PopulateServices(WsdlImporter wsdlImporter, CancellationToken cancellationToken) 267Type wsdlImporterType = typeof(WsdlImporter); 288private async Task<WsdlImporter> CreateWsdlImporterAsync(bool useMessageFormat, CancellationToken cancellationToken) 295var wsdlImporter = IsWsdlImporterQuotasSupported() ?