DelegateCommand(String, Delegate) - конструктор |
Initializes a new instance of the DelegateCommand class using
the specified name, and method which will be invoked.
Пространство имён:
Tessa.Platform.CommandLine
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public DelegateCommand(
string name,
Delegate method
)
Public Sub New (
name As String,
method As Delegate
)
public:
DelegateCommand(
String^ name,
Delegate^ method
)
new :
name : string *
method : Delegate -> DelegateCommand
Параметры
- name
- Тип: SystemString
The name of a command. - method
- Тип: SystemDelegate
The Delegate to be invoked.
Исключения Заметки
A name can contain letters, digits and underscore characters.
См. также