CommandContext(String, Command) - конструктор
Initializes a new instance of the CommandContext class using
the specified command name and child commands.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public CommandContext(
string name,
params Command[] commands
)
Public Sub New (
name As String,
ParamArray commands As Command()
)
public:
CommandContext(
String^ name,
... array<Command^>^ commands
)
new :
name : string *
commands : Command[] -> CommandContext
Параметры
- name String
- The name of a command.
- commands Command
- The collection of child commands.
A name can contain letters, digits and underscore characters.
ArgumentNullException | name is null. |
ArgumentException | name is an empty string (""), or contains one or more invalid characters. |