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