Language

IAsyncValidateOptions<TOptions> Interface

Definition

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 name is null).

Applies to