C# 클래스 Hawkeye.Extensibility.BaseCommandPlugin

Base class helping in building command plugins
상속: BasePlugin, ICommandPlugin
파일 보기 프로젝트 열기: odalet/Hawkeye2

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
CanExecuteCore ( ) : bool

Determines whether this plugin command can be executed.

ExecuteCore ( ) : void

Executes this plugin command.

RaiseCanExecuteChanged ( object sender ) : void

메소드 상세

BaseCommandPlugin() 공개 메소드

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

CanExecute() 공개 메소드

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

CanExecuteCore() 보호된 메소드

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

Execute() 공개 메소드

Executes this command.
public Execute ( ) : void
리턴 void

ExecuteCore() 보호된 메소드

Executes this plugin command.
protected ExecuteCore ( ) : void
리턴 void

RaiseCanExecuteChanged() 보호된 메소드

protected RaiseCanExecuteChanged ( object sender ) : void
sender object
리턴 void