CommandContext(String, String, Command) - конструктор

Initializes a new instance of the CommandContext class using the specified command name, the description and child commands.

Definition

Пространство имён: Tessa.Platform.CommandLine
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public CommandContext(
	string name,
	string description,
	params Command[]? commands
)

Параметры

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.

Исключения

ArgumentNullExceptionname is null.
ArgumentExceptionname is an empty string (""), or contains one or more invalid characters.

См. также