5 instantiations of MetadataDocumentLoader
dotnet-svcutil-lib (5)
Metadata\MetadaExchangeResolver.cs (1)
224
var loader = new
MetadataDocumentLoader
(baseUri, this.HttpCredentialsProvider, this.ClientCertificatesProvider, this.ServerCertificateValidationProvider);
Metadata\ServiceDescriptor.cs (2)
40
this.metadataDocumentLoader = new
MetadataDocumentLoader
(serviceUri, userCredentialsProvider, clientCertificateProvider, serverCertificateValidationProvider);
53
this.metadataDocumentLoader = new
MetadataDocumentLoader
(metadataFiles, false, userCredentialsProvider, clientCertificateProvider, serverCertificateValidationProvider);
Metadata\ServiceDescriptorFactory.cs (2)
69
return new
MetadataDocumentLoader
(uri, httpCredentialsProvider, clientCertificatesProvider, serverCertificateValidationProvider);
74
return new
MetadataDocumentLoader
(metadataFiles, resolveExternalDocuments, httpCredentialsProvider, clientCertificatesProvider, serverCertificateValidationProvider);
15 references to MetadataDocumentLoader
dotnet-svcutil-lib (15)
Metadata\MetadaExchangeResolver.cs (1)
224
var
loader = new MetadataDocumentLoader(baseUri, this.HttpCredentialsProvider, this.ClientCertificatesProvider, this.ServerCertificateValidationProvider);
Metadata\MetadataDocumentLoader.cs (2)
688
var
other = obj as
MetadataDocumentLoader
;
Metadata\ServiceDescriptor.cs (6)
27
protected
MetadataDocumentLoader
metadataDocumentLoader;
56
internal ServiceDescriptor(
MetadataDocumentLoader
metadataDocumentLoader)
75
public bool MetadataImported { get { return this.metadataDocumentLoader.State ==
MetadataDocumentLoader
.LoadState.Successful; } }
95
if (this.metadataDocumentLoader.State ==
MetadataDocumentLoader
.LoadState.Successful)
141
this.metadataDocumentLoader.State =
MetadataDocumentLoader
.LoadState.Successful;
146
this.metadataDocumentLoader.State =
MetadataDocumentLoader
.LoadState.Failed;
Metadata\ServiceDescriptorFactory.cs (6)
41
private ServiceDescriptor Get(
MetadataDocumentLoader
metadaDocLoader)
62
protected virtual ServiceDescriptor CreateServiceDescriptor(
MetadataDocumentLoader
metadaDocLoader)
67
protected virtual
MetadataDocumentLoader
CreateMetadataDocumentLoader(string uri, IHttpCredentialsProvider httpCredentialsProvider, IClientCertificateProvider clientCertificatesProvider, IServerCertificateValidationProvider serverCertificateValidationProvider)
72
protected virtual
MetadataDocumentLoader
CreateMetadataDocumentLoader(IEnumerable<string> metadataFiles, bool resolveExternalDocuments, IHttpCredentialsProvider httpCredentialsProvider, IClientCertificateProvider clientCertificatesProvider, IServerCertificateValidationProvider serverCertificateValidationProvider)
80
var
metadaDocLoader = CreateMetadataDocumentLoader(metadataUri, _userCredentialsProvider, _clientCertificateProvider, _serverCertificateValidationProvider);
87
var
metadaDocLoader = CreateMetadataDocumentLoader(metadataFiles, false, _userCredentialsProvider, _clientCertificateProvider, _serverCertificateValidationProvider);