Delegate CustomValidator
Validation delegate for custom command validation. If it returns false, the command will not be passed to any listeners
Namespace: Clavusaurus.Cosmos
Assembly: cs.temp.dll.dll
Syntax
public delegate bool CustomValidator(ICommandSender sender, Command command, out string validationErrorString);
Parameters
| Type | Name | Description |
|---|---|---|
| ICommandSender | sender | |
| Command | command | |
| String | validationErrorString | Error string returned to the parser if the method returns false |
Returns
| Type | Description |
|---|---|
| Boolean |