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)
125public ValueTask<string?> GetValueAsync(ValueProviderContext context, CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(context, cancellationToken); 347return GetValueAsync(new(), cancellationToken);
ApplicationModel\HostUrl.cs (1)
84var port = await targetEndpoint.Property(EndpointProperty.Port).GetValueAsync(context, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
EndpointReferenceTests.cs (2)
354var resultFromCaller = await expression.GetValueAsync(new ValueProviderContext 360var resultFromNetwork = await expression.GetValueAsync(new ValueProviderContext