Argument.Validators Propriété

Définition

Fournit une liste de validateurs d’arguments. Les validateurs peuvent être utilisés pour fournir des erreurs personnalisées en fonction de l’entrée utilisateur.

public:
 property System::Collections::Generic::List<Action<System::CommandLine::Parsing::ArgumentResult ^> ^> ^ Validators { System::Collections::Generic::List<Action<System::CommandLine::Parsing::ArgumentResult ^> ^> ^ get(); };
public System.Collections.Generic.List<Action<System.CommandLine.Parsing.ArgumentResult>> Validators { get; }
member this.Validators : System.Collections.Generic.List<Action<System.CommandLine.Parsing.ArgumentResult>>
Public ReadOnly Property Validators As List(Of Action(Of ArgumentResult))

Valeur de propriété

S’applique à