IValidateOptions<TOptions> 接口

定义

用于验证选项的接口。Interface used to validate options.

generic <typename TOptions>
 where TOptions : classpublic interface class IValidateOptions
public interface IValidateOptions<TOptions> where TOptions : class
type IValidateOptions<'Options (requires 'Options : null)> = interface
Public Interface IValidateOptions(Of TOptions)

类型参数

TOptions

要验证的选项类型。The options type to validate.

派生

方法

Validate(String, TOptions)

验证特定的命名选项实例(如果名称为 null,则验证所有命名选项实例)。Validates a specific named options instance (or all when name is null).

适用于