Command.Validators Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validators to the command. Validators can be used to create custom validation logic.
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))