StaticValueProvider<T> Methods
ClassMethods2 members
A static value provider that returns a fixed value once it's been set.
Gets the value for use as an environment variable.
public class StaticValueProvider<T>{ public ValueTask<string?> GetValueAsync( CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
cancellationToken CancellationToken optionalA Threading.CancellationToken .Set(T) Section titled Set(T) Sets the value of the provider.
public class StaticValueProvider<T>{ public void Set( T value) { // ... }}Parameters
valueT