Command
Creates commands from plain delegates, for handlers that live in the view rather than a ViewModel.
- Kind: Class
- Namespace: SkeleKit
Methods
From
A command that runs action, always executable.
| Parameter | Summary |
|---|---|
Action action | The handler to run. |
Returns
ICommand: The wrapping command.
From
A command that runs action with the command parameter, always executable.
| Parameter | Summary |
|---|---|
Action<T?> action | The handler to run. |
| Type parameter | Summary |
|---|---|
T | The parameter type the handler expects. |
Returns
ICommand: The wrapping command.