CommandT1, T2 Class
A generic implementation of the ICommand interface.
Namespace: BeeMobile.VirtualKeyboardAssembly: BeeMobile.VirtualKeyboard.AVA.NET6 (in BeeMobile.VirtualKeyboard.AVA.NET6.dll) Version: 11.0.0.2+aef809e856abb10e94d0b4c45f10d1805addc36e
public class Command<T1, T2> : ICommand
type Command<'T1, 'T2> =
class
interface ICommand
end
- Inheritance
- Object CommandT1, T2
- Implements
- ICommand
Type Parameters
- T1
- Type of the Execute parameter
- T2
- Type of the CanExecute parameter
| CanExecute(T2) |
The predicate exposed as a method. Can be called to determine wether the command should execute in its current state.
|
| CanExecute(Object) | Defines the method that determines whether the command can execute in its current state. |
| Execute(T1) |
Invokes the underlying action.
|
| Execute(Object) | Defines the method to be called when the command is invoked. |
| RaiseCanExecuteChanged |
This method can be used to inform the objects subscribed to the CanExecuteChanged that the state has changed.
|
| CanExecuteChanged | Occurs when changes occur that affect whether or not the command should execute. |