2 types derived from MetadataRetriever
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (2)
699
private class MetadataLocationRetriever :
MetadataRetriever
909
private class MetadataReferenceRetriever :
MetadataRetriever
28 references to MetadataRetriever
dotnet-svcutil-lib (28)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (28)
261
private IAsyncResult BeginGetMetadata(
MetadataRetriever
retriever, AsyncCallback callback, object asyncState)
287
MetadataRetriever
retriever = (mode == MetadataExchangeClientMode.HttpGet)
288
? (
MetadataRetriever
)new MetadataLocationRetriever(address, this)
289
: (
MetadataRetriever
)new MetadataReferenceRetriever(new EndpointAddress(address), this);
291
return Task.Factory.FromAsync<
MetadataRetriever
, MetadataSet>(this.BeginGetMetadata, this.EndGetMetadata, retriever, /* state */ null);
301
return Task.Factory.FromAsync<
MetadataRetriever
, MetadataSet>(this.BeginGetMetadata, this.EndGetMetadata, new MetadataReferenceRetriever(address, this), /* state */ null);
316
return Task.Factory.FromAsync<
MetadataRetriever
, MetadataSet>(this.BeginGetMetadata, this.EndGetMetadata, new MetadataReferenceRetriever(address, via, this), /* state */ null);
333
MetadataRetriever
retriever;
372
private MetadataSet GetMetadata(
MetadataRetriever
retriever)
385
MetadataRetriever
retriever = resolveCallState.StackedRetrievers.Pop();
453
private Dictionary<
MetadataRetriever
,
MetadataRetriever
> _usedRetrievers; // to prevent looping when chasing MetadataReferences
457
private Stack<
MetadataRetriever
> _stackedRetrievers;
469
_usedRetrievers = new Dictionary<
MetadataRetriever
,
MetadataRetriever
>();
470
_stackedRetrievers = new Stack<
MetadataRetriever
>();
478
internal Stack<
MetadataRetriever
> StackedRetrievers
508
MetadataRetriever
retriever = new MetadataReferenceRetriever(address, _resolver, section.Dialect, section.Identifier);
521
MetadataRetriever
retriever = new MetadataLocationRetriever(this.CreateUri(section.SourceUrl, location), _resolver, section.Dialect, section.Identifier);
590
private void EnqueueRetrieverIfShouldResolve(
MetadataRetriever
retriever)
598
internal bool HasBeenUsed(
MetadataRetriever
retriever)
603
internal void LogUse(
MetadataRetriever
retriever)
628
return
MetadataRetriever
.CreateMetadataSection(reader, this.SourceUrl);
903
_section =
MetadataRetriever
.CreateMetadataSection(reader, request.RequestUri.ToString());
1143
_section =
MetadataRetriever
.CreateMetadataSection(reader, ((IClientChannel)metadataClient).RemoteAddress.Uri.ToString());
1192
MetadataRetriever
retriever = _resolveCallState.StackedRetrievers.Pop();
1258
MetadataRetriever
retriever = (
MetadataRetriever
)result.AsyncState;