C# Class Hawkeye.Extensibility.BaseCommandPlugin

Base class helping in building command plugins
Inheritance: BasePlugin, ICommandPlugin
Mostrar archivo Open project: odalet/Hawkeye2

Public Methods

Method Description
BaseCommandPlugin ( IPluginDescriptor pluginDescriptor ) : System

Initializes a new instance of the BaseCommandPlugin class.

CanExecute ( ) : bool

Determines whether the command can be executed.

Execute ( ) : void

Executes this command.

Protected Methods

Method Description
CanExecuteCore ( ) : bool

Determines whether this plugin command can be executed.

ExecuteCore ( ) : void

Executes this plugin command.

RaiseCanExecuteChanged ( object sender ) : void

Method Details

BaseCommandPlugin() public method

Initializes a new instance of the BaseCommandPlugin class.
pluginDescriptor
public BaseCommandPlugin ( IPluginDescriptor pluginDescriptor ) : System
pluginDescriptor IPluginDescriptor The plugin descriptor.
return System

CanExecute() public method

Determines whether the command can be executed.
public CanExecute ( ) : bool
return bool

CanExecuteCore() protected method

Determines whether this plugin command can be executed.
protected CanExecuteCore ( ) : bool
return bool

Execute() public method

Executes this command.
public Execute ( ) : void
return void

ExecuteCore() protected method

Executes this plugin command.
protected ExecuteCore ( ) : void
return void

RaiseCanExecuteChanged() protected method

protected RaiseCanExecuteChanged ( object sender ) : void
sender object
return void