StaticValueProvider<T> Methods
Class Methods 2 members
A static value provider that returns a fixed value once it's been set.
public class StaticValueProvider<T>{ public ValueTask<string?> GetValueAsync( CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
cancellationToken CancellationToken optional Set(T) Section titled Set(T) Sets the value of the provider.
public class StaticValueProvider<T>{ public void Set( T value) { // ... }}Parameters
value T