DelegateCommand(String, String, Delegate) - конструктор

Initializes a new instance of the DelegateCommand class using the specified name, description, and method which will be invoked.

Definition

Пространство имён: Tessa.Platform.CommandLine
Сборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
C#
public DelegateCommand(
	string name,
	string description,
	Delegate method
)

Параметры

name  String
The name of a command.
description  String
The description of a command.
method  Delegate
The Delegate to be invoked.

Заметки

A name can contain letters, digits and underscore characters.

Исключения

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

См. также