C# Class AppVeyor.Commands.Base.DynamicCommand

Inheritance: Microsoft.VisualStudio.Shell.OleMenuCommand
Show file Open project: onlyutkarsh/AppVeyorExtension

Public Methods

Method Description
DynamicCommand ( IServiceProvider serviceProvider, EventHandler onExecute, CommandID id ) : System

Initializes a new instance of the DynamicCommand class.

Protected Methods

Method Description
CanExecute ( Microsoft.VisualStudio.Shell.OleMenuCommand command ) : bool

Determines whether this instance can execute the specified command.

OnBeforeQueryStatus ( object sender, EventArgs e ) : void

Called when [before query status].

Method Details

CanExecute() protected method

Determines whether this instance can execute the specified command.
protected CanExecute ( Microsoft.VisualStudio.Shell.OleMenuCommand command ) : bool
command Microsoft.VisualStudio.Shell.OleMenuCommand The command.
return bool

DynamicCommand() public method

Initializes a new instance of the DynamicCommand class.
public DynamicCommand ( IServiceProvider serviceProvider, EventHandler onExecute, CommandID id ) : System
serviceProvider IServiceProvider The service provider.
onExecute EventHandler The on execute delegate.
id System.ComponentModel.Design.CommandID The command id.
return System

OnBeforeQueryStatus() protected method

Called when [before query status].
protected OnBeforeQueryStatus ( object sender, EventArgs e ) : void
sender object The sender.
e System.EventArgs The instance containing the event data.
return void