| ConsoleCommandExecute Property |
Gets or sets the callback that is called when the command was entered.
Namespace: DigitalRune.Game.UI.ConsolesAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public Action<string[]> Execute { get; set; }
Public Property Execute As Action(Of String())
Get
Set
public:
property Action<array<String^>^>^ Execute {
Action<array<String^>^>^ get ();
void set (Action<array<String^>^>^ value);
}
member Execute : Action<string[]> with 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 Remarks
The callback method can throw an exception which will be printed as an error message on the
console.
See Also