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)
67public ValueTask<string?> GetValueAsync(ValueProviderContext context, CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(context, cancellationToken); 268return 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)