Class TSelectedCommandDoesNotAcceptCommandAsArgument
Unit
Declaration
type TSelectedCommandDoesNotAcceptCommandAsArgument = class(TValidatorBase)
Description
Returns an error if a command was passed to a command that does ot accept this type of parameter. Only works if ccNoArgumentsButCommands constraint is set for the command.
Hierarchy
- TInterfacedObject
- TValidatorBase
- TSelectedCommandDoesNotAcceptCommandAsArgument
Overview
Methods
| Public | function Validate(ACommand: ICommandBuilder): TArray<string>; override; |
Description
Methods
| Public | function Validate(ACommand: ICommandBuilder): TArray<string>; override; |
|
This item has no description. Showing description inherited from TValidatorBase.Validate. Validates a single specific case. It must be implemented by the child class. If the validation is successful and there is a successor, the successor's validation method will be called. A TArry<string> will be returned with errors detected whether they are from the current or successor validation. | |
Generated by PasDoc 1.0.4.