DelegateCommand
Ecng.ComponentModel
Delegate command without argument.
継承元: DelegateCommand<object>
コンストラクター
DelegateCommand
public DelegateCommand(Action execute)
delegateCommand = DelegateCommand(execute)
Creates a new command.
- execute
- The execution logic.
DelegateCommand
public DelegateCommand(Action<object> execute, Func<object, bool> canExecute)
delegateCommand = DelegateCommand(execute, canExecute)
Creates a new command with conditional execution.
- execute
- The execution logic.
- canExecute
- The execution status logic.