IValueProvider Methods
InterfaceMethods2 members
An interface that allows the value to be provided for an environment variable.
GetValueAsync(CancellationToken) Section titled GetValueAsync(CancellationToken)abstractValueTask<string?> Gets the value for use as an environment variable.
public interface IValueProvider{ public abstract ValueTask<string?> GetValueAsync( CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
cancellationToken CancellationToken optionalA Threading.CancellationToken .GetValueAsync(ValueProviderContext, CancellationToken) Section titled GetValueAsync(ValueProviderContext, CancellationToken)virtualValueTask<string?> Gets the value for use as an environment variable in the specified context.
public interface IValueProvider{ public virtual ValueTask<string?> GetValueAsync( ValueProviderContext context, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
contextValuecancellationToken CancellationToken optional