Click or drag to resize

RelayCommand(ActionObject, FuncBoolean) Constructor

Constructor - takes over an action to be executed and a check routine for (de)activating the action.

Namespace: NetEti.MVVMini
Assembly: NetEti.MVVMini (in NetEti.MVVMini.dll) Version: 1.0.0+7b60487fcbc3b95636e4fc726213c9ca8562bee8
Syntax
public RelayCommand(
	
	Action<Object?> execute,
	
	Func<bool>? canExecute
)

Parameters

execute  ActionObject
An action to be executed by the command.
canExecute  FuncBoolean
A check routine that leads to the (de)activation of the command.
See also