Argument.Validators Propiedad

Definición

Proporciona una lista de validadores de argumentos. Los validadores se pueden usar para proporcionar errores personalizados en función de la entrada del usuario.

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))

Valor de propiedad

Se aplica a