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
public interface IAsyncValidateOptions<in TOptions> where TOptions : class
type IAsyncValidateOptions<'Options (requires 'Options : null)> = interface
Public Interface IAsyncValidateOptions(Of In TOptions)
Type Parameters
- TOptions
The options type to validate.
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.- Derived
Methods
| Name | Description |
|---|---|
| ValidateAsync(String, TOptions, CancellationToken) |
Asynchronously validates a specified named options instance (or all if |