parameters type
OnCommand function for this command
If this method is implemented, it returns a fresh parameters instance to use for this class. Otherwise will use the class itself as its parameters.
new parameters instance
Generated using TypeDoc
Interface for class-based command handlers. These combine the parameters with the command. A fresh instance will be created for every invocation. Prefer using the parameters object to "this" in implementations of the handle method.