![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Defines a custom command. More...
Public Member Functions | |
Command (ExecuteHandler ExecuteCallback) | |
Defines a custom command. More... | |
Command (CanExecuteHandler CanExecuteCallback, ExecuteHandler ExecuteCallback) | |
Defines a custom command. More... | |
void | RaiseCanExecuteChanged () |
Raises the CanExecuteChanged event. More... | |
bool | CanExecute (object parameter) |
Defines the method that determines whether the command can execute in its current state. More... | |
async void | Execute (object parameter) |
Defines the method to be called when the command is invoked. More... | |
Events | |
EventHandler | CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute. More... | |
Defines a custom command.
Definition at line 22 of file Command.cs.
LegalLab.Models.Command.Command | ( | ExecuteHandler | ExecuteCallback | ) |
Defines a custom command.
ExecuteCallback | Method called when the command is executed. |
Definition at line 31 of file Command.cs.
LegalLab.Models.Command.Command | ( | CanExecuteHandler | CanExecuteCallback, |
ExecuteHandler | ExecuteCallback | ||
) |
Defines a custom command.
CanExecuteCallback | Method called to determine if the command can be executed. |
ExecuteCallback | Method called when the command is executed. |
Definition at line 41 of file Command.cs.
bool LegalLab.Models.Command.CanExecute | ( | object | parameter | ) |
Defines the method that determines whether the command can execute in its current state.
parameter | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Definition at line 77 of file Command.cs.
async void LegalLab.Models.Command.Execute | ( | object | parameter | ) |
Defines the method to be called when the command is invoked.
parameter | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Definition at line 99 of file Command.cs.
void LegalLab.Models.Command.RaiseCanExecuteChanged | ( | ) |
Raises the CanExecuteChanged event.
Definition at line 55 of file Command.cs.
EventHandler LegalLab.Models.Command.CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute.
Definition at line 50 of file Command.cs.