C# Class GitMenu.Commands.BaseCommand

Inheritance: Microsoft.VisualStudio.Shell.OleMenuCommand
显示文件 Open project: kthompson/gitmenu

Protected Methods

Method Description
BaseCommand ( CommandID id ) : System
BaseCommand ( CommandID id, string text ) : System
CanExecute ( ) : bool
OnBeforeQueryStatus ( object sender, EventArgs e ) : void
OnExecute ( ) : void

Private Methods

Method Description
OnExecute ( object sender, EventArgs e ) : void

Method Details

BaseCommand() protected method

protected BaseCommand ( CommandID id ) : System
id System.ComponentModel.Design.CommandID
return System

BaseCommand() protected method

protected BaseCommand ( CommandID id, string text ) : System
id System.ComponentModel.Design.CommandID
text string
return System

CanExecute() protected method

protected CanExecute ( ) : bool
return bool

OnBeforeQueryStatus() protected method

protected OnBeforeQueryStatus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnExecute() protected method

protected OnExecute ( ) : void
return void