Command.Validators Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene los validadores del comando . Los validadores se pueden usar para crear lógica de validación personalizada.
public:
property System::Collections::Generic::List<Action<System::CommandLine::Parsing::CommandResult ^> ^> ^ Validators { System::Collections::Generic::List<Action<System::CommandLine::Parsing::CommandResult ^> ^> ^ get(); };
public System.Collections.Generic.List<Action<System.CommandLine.Parsing.CommandResult>> Validators { get; }
member this.Validators : System.Collections.Generic.List<Action<System.CommandLine.Parsing.CommandResult>>
Public ReadOnly Property Validators As List(Of Action(Of CommandResult))