DataAnnotationValidateOptions<TOptions>(String) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz von 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)
Parameter
- name
- String
Der Name der Option.
- Attribute