Implemented interface member:
method
GetValueAsync
Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync(Aspire.Hosting.ApplicationModel.ValueProviderContext, System.Threading.CancellationToken)
4 references to GetValueAsync
Aspire.Hosting (4)
ApplicationModel\EndpointReference.cs (2)
67
public ValueTask<string?> GetValueAsync(ValueProviderContext context, CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).
GetValueAsync
(context, cancellationToken);
268
return
GetValueAsync
(new(), cancellationToken);
ApplicationModel\ExpressionResolver.cs (2)
24
(EndpointProperty.Port, true) => await endpointReference.Property(EndpointProperty.TargetPort).
GetValueAsync
(context, cancellationToken).ConfigureAwait(false),
33
_ => await endpointReference.Property(property).
GetValueAsync
(context, cancellationToken).ConfigureAwait(false)