DelegateCommand(String, String, Delegate) - конструктор
Initializes a new instance of the DelegateCommand class using
the specified name, description, and method which will be invoked.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public DelegateCommand(
string name,
string description,
Delegate method
)
Public Sub New (
name As String,
description As String,
method As Delegate
)
public:
DelegateCommand(
String^ name,
String^ description,
Delegate^ method
)
new :
name : string *
description : string *
method : Delegate -> DelegateCommand
Параметры
- 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.
ArgumentNullException | name or method is null. |
ArgumentException | name is an empty string (""), or contains one or more invalid characters. |