StaticValueProvider<T>
Classnet10.0
A static value provider that returns a fixed value once it's been set.
namespace Aspire.Hosting.Foundry;
public class StaticValueProvider<T> : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider{ // ...}TIManifestExpressionProviderIValueProvider
5 members
Constructors2
Section titled ConstructorsStaticValueProvider Creates a new instance of the
Foundry.StaticValueProvider`1 class. StaticValueProvider(T) Creates a new instance of the
Foundry.StaticValueProvider`1 class. Properties1
Section titled PropertiesMethods2
Section titled MethodsGetValueAsync(CancellationToken)ValueTask<string?> Gets the value for use as an environment variable.
Set(T) Sets the value of the provider.