Język

DataAnnotationValidateOptions<TOptions>(String) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

name
String

Nazwa opcji.

Atrybuty

Dotyczy