CommandContext(String, String, Command) - конструктор
Initializes a new instance of the
CommandContext class using
the specified command name, the description and child commands.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public CommandContext(
string name,
string description,
params Command[]? commands
)
Public Sub New (
name As String,
description As String,
ParamArray commands As Command()
)
public:
CommandContext(
String^ name,
String^ description,
... array<Command^>^ commands
)
new :
name : string *
description : string *
commands : Command[] -> CommandContext
Параметры
- name String
- The name of a command.
- description String
- The description of a command.
- commands Command
- The collection of child commands.
A name can contain letters, digits and underscore characters.