IValueProvider
Interface net10.0
An interface that allows the value to be provided for an environment variable.
namespace Aspire.Hosting.ApplicationModel;
public interface IValueProvider{ // ...}Methods2
Section titled MethodsGetValueAsync(CancellationToken)abstractValueTask<string?> Gets the value for use as an environment variable.
GetValueAsync(ValueProviderContext, CancellationToken)virtualValueTask<string?> Gets the value for use as an environment variable in the specified context.