3 instantiations of ServiceDescriptor
dotnet-svcutil-lib (3)
Metadata\ServiceDescriptorFactory.cs (1)
64return new ServiceDescriptor(metadaDocLoader);
Tool.cs (2)
205new ServiceDescriptor(options.Inputs[0].ToString(), credsProvider, credsProvider, credsProvider) : 206new ServiceDescriptor(options.Inputs.Select(i => i.ToString()).ToList(), credsProvider, credsProvider, credsProvider);
20 references to ServiceDescriptor
dotnet-svcutil-lib (20)
ImportModule.cs (8)
42internal ImportModule(CommandProcessorOptions options, ServiceDescriptor serviceDescriptor, WsdlImporter importer) 52internal bool ImportServiceContracts(ServiceDescriptor serviceDescriptor) 103public void BeforeImportMetadata(ServiceDescriptor serviceDescriptor) 124public bool AfterImportMetadata(ServiceDescriptor serviceDescriptor) 169var importer1 = ServiceDescriptor.DefaultUseMessageFormat ? typeof(DataContractSerializerMessageContractImporter) : typeof(XmlSerializerMessageContractImporter); 170var importer2 = ServiceDescriptor.DefaultUseMessageFormat ? typeof(XmlSerializerMessageContractImporter) : typeof(DataContractSerializerMessageContractImporter); 179private static bool ContractsResolved(ServiceDescriptor serviceDescriptor, CodeCompileUnit codeCompileUnit) 257public static void RemoveUnneededSerializers(CommandProcessorOptions options, ServiceDescriptor serviceDescriptor, Collection<IWsdlImportExtension> wsdlImportExtensions)
Metadata\ServiceDescriptor.cs (4)
93public async Task ImportMetadataAsync(Action<WsdlImporter> onWsdlImporterCreated, Action<ServiceDescriptor> onBeforeMetadataImport, Func<ServiceDescriptor, bool> onAfterMetadataImport, CancellationToken cancellationToken) 156bool useMessageFormat = ServiceDescriptor.DefaultUseMessageFormat; 176while (!importSuccess && useMessageFormat != ServiceDescriptor.DefaultUseMessageFormat);
Metadata\ServiceDescriptorFactory.cs (7)
23private Dictionary<int, ServiceDescriptor> _cache = new Dictionary<int, ServiceDescriptor>(); 41private ServiceDescriptor Get(MetadataDocumentLoader metadaDocLoader) 43ServiceDescriptor serviceDescriptor; 62protected virtual ServiceDescriptor CreateServiceDescriptor(MetadataDocumentLoader metadaDocLoader) 77public ServiceDescriptor Get(string metadataUri) 84public ServiceDescriptor Get(IEnumerable<string> metadataFiles)
Tool.cs (1)
204ServiceDescriptor serviceDescriptor = options.Inputs.Count == 1 ?