| ConsoleCommand Constructor (String, String, ActionString) |
Initializes a new instance of the
ConsoleCommand class with the given
properties.
Namespace: DigitalRune.Game.UI.ConsolesAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public ConsoleCommand(
string name,
string description,
Action<string[]> callback
)
Public Sub New (
name As String,
description As String,
callback As Action(Of String())
)
public:
ConsoleCommand(
String^ name,
String^ description,
Action<array<String^>^>^ callback
)
new :
name : string *
description : string *
callback : Action<string[]> -> ConsoleCommand
Parameters
- name
- Type: SystemString
The name. - description
- Type: SystemString
The description. - callback
- Type: SystemActionString
The callback method that handles the command (see Execute).
Exceptions See Also