Interface IStandAloneCommand
Provides an extension point for Addins to provide a command that can be executed with no particular context.
Inherited Members
Namespace: Algenta.Colectica.ViewModel.Commands
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IStandAloneCommand : IGenericCommand
Properties
Result
Gets the result of the command's execution.
Declaration
CommandResult Result { get; }
Property Value
Type | Description |
---|---|
CommandResult | The result of the command. |
Methods
CanExecute()
Determines whether this command should be displayed for the specified node.
Declaration
bool CanExecute()
Returns
Type | Description |
---|---|
System.Boolean |
|
Remarks
The value returned from this method determines the Visibility
of the command's menu item or button.
Execute()
Executes the command.
Declaration
void Execute()