Implemented interface member:
method
GetValueAsync
Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync(Aspire.Hosting.ApplicationModel.ValueProviderContext, System.Threading.CancellationToken)
5 references to GetValueAsync
Aspire.Hosting (3)
ApplicationModel\EndpointReference.cs (2)
125
public ValueTask<string?> GetValueAsync(ValueProviderContext context, CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).
GetValueAsync
(context, cancellationToken);
347
return
GetValueAsync
(new(), cancellationToken);
ApplicationModel\HostUrl.cs (1)
84
var port = await targetEndpoint.Property(EndpointProperty.Port).
GetValueAsync
(context, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
EndpointReferenceTests.cs (2)
354
var resultFromCaller = await expression.
GetValueAsync
(new ValueProviderContext
360
var resultFromNetwork = await expression.
GetValueAsync
(new ValueProviderContext