RelayCommand Constructor (Action, FuncBoolean) |
Creates a new command.
Namespace: foodez.CommonAssembly: foodez.WindowsPhone (in foodez.WindowsPhone.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic RelayCommand(
Action execute,
Func<bool> canExecute
)
Public Sub New (
execute As Action,
canExecute As Func(Of Boolean)
)
public:
RelayCommand(
Action^ execute,
Func<bool>^ canExecute
)
new :
execute : Action *
canExecute : Func<bool> -> RelayCommand
Parameters
- execute
- Type: SystemAction
The execution logic. - canExecute
- Type: SystemFuncBoolean
The execution status logic.
See Also