Click or drag to resize
DigitalRuneConsoleCommandExecute Property
Gets or sets the callback that is called when the command was entered.

Namespace: DigitalRune.Game.UI.Consoles
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public Action<string[]> Execute { get; set; }

Property Value

Type: ActionString
The callback that is called when the command was entered. The input parameter for the callback method is the array of command arguments. (The first argument is the command name.)
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
Remarks
The callback method can throw an exception which will be printed as an error message on the console.
See Also