C# Class Hawkeye.Extensibility.BaseCommandPlugin

Base class helping in building command plugins
Inheritance: BasePlugin, ICommandPlugin
Afficher le fichier Open project: odalet/Hawkeye2

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

CanExecute() public méthode

Determines whether the command can be executed.
public CanExecute ( ) : bool
Résultat bool

CanExecuteCore() protected méthode

Determines whether this plugin command can be executed.
protected CanExecuteCore ( ) : bool
Résultat bool

Execute() public méthode

Executes this command.
public Execute ( ) : void
Résultat void

ExecuteCore() protected méthode

Executes this plugin command.
protected ExecuteCore ( ) : void
Résultat void

RaiseCanExecuteChanged() protected méthode

protected RaiseCanExecuteChanged ( object sender ) : void
sender object
Résultat void