C# Class SmartCmdArgs.Commands

Command handler
Afficher le fichier Open project: MBulli/SmartCommandlineArgs Class Usage Examples

Méthodes publiques

Свойство Type Description
CmdArgsToolBarCmdSet System.Guid
KeyBindingsCmdSet System.Guid
VSMenuCmdSet System.Guid

Private Properties

Свойство Type Description
AddCommandToService void
AddCommandToService void
Commands System
ShowToolWindow void

Méthodes publiques

Méthode Description
Initialize ( CmdArgsPackage package ) : void

Initializes the singleton instance of the command.

Private Methods

Méthode Description
AddCommandToService ( Microsoft.VisualStudio.Shell.OleMenuCommandService service, System.Guid cmdSet, int cmdId, EventHandler handler ) : void
AddCommandToService ( Microsoft.VisualStudio.Shell.OleMenuCommandService service, System.Guid cmdSet, int cmdId, RelayCommand relayCommand ) : void
Commands ( CmdArgsPackage package ) : System

Initializes a new instance of the Commands class. Adds our command handlers for menu (commands must exist in the command table file)

ShowToolWindow ( object sender, EventArgs e ) : void

Shows the tool window when the menu item is clicked.

Method Details

Initialize() public static méthode

Initializes the singleton instance of the command.
public static Initialize ( CmdArgsPackage package ) : void
package CmdArgsPackage Owner package, not null.
Résultat void

Property Details

CmdArgsToolBarCmdSet public_oe static_oe property

public static Guid,System CmdArgsToolBarCmdSet
Résultat System.Guid

KeyBindingsCmdSet public_oe static_oe property

public static Guid,System KeyBindingsCmdSet
Résultat System.Guid

VSMenuCmdSet public_oe static_oe property

Command menu group (command set GUID).
public static Guid,System VSMenuCmdSet
Résultat System.Guid