C# Class ShaderTools.VisualStudio.Hlsl.SyntaxVisualizer.SyntaxVisualizerToolWindowCommand

Command handler
Mostrar archivo Open project: tgjones/HlslTools Class Usage Examples

Public Properties

Property Type Description
MenuGroup System.Guid

Private Properties

Property Type Description
ShowToolWindow void
SyntaxVisualizerToolWindowCommand System

Public Methods

Method Description
Initialize ( Microsoft.VisualStudio.Shell.Package package ) : void

Initializes the singleton instance of the command.

Private Methods

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

Shows the tool window when the menu item is clicked.

SyntaxVisualizerToolWindowCommand ( Microsoft.VisualStudio.Shell.Package package ) : System

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

Method Details

Initialize() public static method

Initializes the singleton instance of the command.
public static Initialize ( Microsoft.VisualStudio.Shell.Package package ) : void
package Microsoft.VisualStudio.Shell.Package Owner package, not null.
return void

Property Details

MenuGroup public_oe static_oe property

Command menu group (command set GUID).
public static Guid,System MenuGroup
return System.Guid