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.6.0.22
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 String
- The name 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. |