IAsyncValidateOptions<TOptions> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously validates options.
generic <typename TOptions>
where TOptions : classpublic interface class IAsyncValidateOptions : Microsoft::Extensions::Options::IValidateOptions<TOptions>
public interface IAsyncValidateOptions<TOptions> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
type IAsyncValidateOptions<'Options (requires 'Options : null)> = interface
interface IValidateOptions<'Options (requires 'Options : null)>
Public Interface IAsyncValidateOptions(Of TOptions)
Implements IValidateOptions(Of TOptions)
Type Parameters
- TOptions
The options type to validate.
- Derived
- Implements
Remarks
Implementations must be registered through Validate<TValidateOptions>() or as IValidateOptions<TOptions>, not directly as IAsyncValidateOptions<TOptions>.
Methods
| Name | Description |
|---|---|
| Validate(String, TOptions) |
Validates a specified named options instance (or all if |
| ValidateAsync(String, TOptions, CancellationToken) |
Asynchronously validates a specified named options instance (or all if |