DataAnnotationValidateOptions<TOptions>(String) Konstruktor

Definition

Initierar en ny instans av DataAnnotationValidateOptions<TOptions> .

public:
 DataAnnotationValidateOptions(System::String ^ name);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The implementation of Validate method on this type will walk through all properties of the passed in options object, and its type cannot be statically analyzed so its members may be trimmed.")]
public DataAnnotationValidateOptions(string? name);
public DataAnnotationValidateOptions(string? name);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The implementation of Validate method on this type will walk through all properties of the passed in options object, and its type cannot be statically analyzed so its members may be trimmed.")>]
new Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)> : string -> Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)>
new Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)> : string -> Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)>
Public Sub New (name As String)

Parametrar

name
String

Namnet på alternativet.

Attribut

Gäller för