2 types derived from MetadataRetriever
System.ServiceModel (2)
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
735
class MetadataLocationRetriever :
MetadataRetriever
951
class MetadataReferenceRetriever :
MetadataRetriever
28 references to MetadataRetriever
System.ServiceModel (28)
System\ServiceModel\Description\MetadataExchangeClient.cs (28)
284
IAsyncResult BeginGetMetadata(
MetadataRetriever
retriever, AsyncCallback callback, object asyncState)
310
MetadataRetriever
retriever = (mode == MetadataExchangeClientMode.HttpGet)
311
? (
MetadataRetriever
) new MetadataLocationRetriever(address, this)
312
: (
MetadataRetriever
) new MetadataReferenceRetriever(new EndpointAddress(address), this);
314
return Task.Factory.FromAsync<
MetadataRetriever
, MetadataSet>(this.BeginGetMetadata, this.EndGetMetadata, retriever, /* state */ null);
324
return Task.Factory.FromAsync<
MetadataRetriever
, MetadataSet>(this.BeginGetMetadata, this.EndGetMetadata, new MetadataReferenceRetriever(address, this), /* state */ null);
339
return Task.Factory.FromAsync<
MetadataRetriever
, MetadataSet>(this.BeginGetMetadata, this.EndGetMetadata, new MetadataReferenceRetriever(address, via, this), /* state */ null);
355
MetadataRetriever
retriever;
394
MetadataSet GetMetadata(
MetadataRetriever
retriever)
407
MetadataRetriever
retriever = resolveCallState.StackedRetrievers.Pop();
488
Dictionary<
MetadataRetriever
,
MetadataRetriever
> usedRetrievers; // to prevent looping when chasing MetadataReferences
492
Stack<
MetadataRetriever
> stackedRetrievers;
504
this.usedRetrievers = new Dictionary<
MetadataRetriever
,
MetadataRetriever
>();
505
this.stackedRetrievers = new Stack<
MetadataRetriever
>();
513
internal Stack<
MetadataRetriever
> StackedRetrievers
544
MetadataRetriever
retriever = new MetadataReferenceRetriever(address, this.resolver, section.Dialect, section.Identifier);
557
MetadataRetriever
retriever = new MetadataLocationRetriever(this.CreateUri(section.SourceUrl, location), this.resolver, section.Dialect, section.Identifier);
626
void EnqueueRetrieverIfShouldResolve(
MetadataRetriever
retriever)
634
internal bool HasBeenUsed(
MetadataRetriever
retriever)
639
internal void LogUse(
MetadataRetriever
retriever)
664
return
MetadataRetriever
.CreateMetadataSection(reader, this.SourceUrl);
943
section =
MetadataRetriever
.CreateMetadataSection(reader, request.Address.ToString());
1186
section =
MetadataRetriever
.CreateMetadataSection(reader, ((IClientChannel)metadataClient).RemoteAddress.Uri.ToString());
1237
MetadataRetriever
retriever = this.resolveCallState.StackedRetrievers.Pop();
1303
MetadataRetriever
retriever = (
MetadataRetriever
)result.AsyncState;