C# Class AppVeyor.Commands.Base.DynamicCommand

Inheritance: Microsoft.VisualStudio.Shell.OleMenuCommand
Afficher le fichier Open project: onlyutkarsh/AppVeyorExtension

Méthodes publiques

Méthode Description
DynamicCommand ( IServiceProvider serviceProvider, EventHandler onExecute, CommandID id ) : System

Initializes a new instance of the DynamicCommand class.

Méthodes protégées

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

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

DynamicCommand() public méthode

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.
Résultat System

OnBeforeQueryStatus() protected méthode

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.
Résultat void