ParameterResource Methods
Class Methods 2 members
Represents a parameter resource.
Gets the value of the parameter asynchronously, waiting if necessary for the value to be set.
public class ParameterResource{ public ValueTask<string?> GetValueAsync( CancellationToken cancellationToken) { // ... }}Parameters
cancellationToken CancellationToken The cancellation token to observe while waiting for the value. Returns
ValueTask<string?> A task that represents the asynchronous operation, containing the value of the parameter. GetValueAsync(ValueProviderContext, CancellationToken) Section titled GetValueAsync(ValueProviderContext, CancellationToken) ValueTask<string?> Gets the value of the parameter asynchronously, waiting if necessary for the value to be set.
public class ParameterResource{ public ValueTask<string?> GetValueAsync( ValueProviderContext _, CancellationToken cancellationToken) { // ... }}Parameters
cancellationToken CancellationToken