共用方式為


DataAnnotationValidateOptions<TOptions>(String) Constructor

Definition

Constructor.

public:
 DataAnnotationValidateOptions(System::String ^ name);
public DataAnnotationValidateOptions (string? name);
new Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)> : string -> Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)>
Public Sub New (name As String)

Parameters

name
String

The name of the option.

Applies to