 | RelayCommand(ActionObject, FuncBoolean) Konstruktor |
Konstruktor - übernimmt eine auszuführende Action
und eine Check-Routine für die (De-)Aktivierung der Action.
Namensraum: NetEti.MVVMiniAssembly: NetEti.MVVMini (in NetEti.MVVMini.dll) Version: 1.0.0+faf3aa8dcc38bbe36a3c92b1a9f73c75fc662c99
Syntaxpublic RelayCommand(
Action<Object?> execute,
Func<bool>? canExecute
)
Public Sub New (
execute As Action(Of Object),
canExecute As Func(Of Boolean)
)
public:
RelayCommand(
Action<Object^>^ execute,
Func<bool>^ canExecute
)
new :
execute : Action<Object> *
canExecute : Func<bool> -> RelayCommand
Parameter
- execute ActionObject
- Eine durch das Kommando auszuführende Action.
- canExecute FuncBoolean
- Eind Prüfroutine, die zur (De-)Aktivierung des Kommandos führt.
Siehe auch