C# Класс CodeConnect.Gistify.Extension.GistifyCommand

Command handler
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CommandSet System.Guid

Private Properties

Свойство Тип Описание
GistifyCommand System
MenuItemCallback void
handleAugmentedSnippet void

Открытые методы

Метод Описание
Initialize ( Microsoft.VisualStudio.Shell.Package package ) : void

Initializes the singleton instance of the command.

Приватные методы

Метод Описание
GistifyCommand ( Microsoft.VisualStudio.Shell.Package package ) : System

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

MenuItemCallback ( object sender, EventArgs e ) : void

This function is the callback used to execute the command when the menu item is clicked. See the constructor to see how the menu item is associated with this function using OleMenuCommandService service and MenuCommand class.

handleAugmentedSnippet ( string augmentedSnippet ) : void

Описание методов

Initialize() публичный статический Метод

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.
Результат void

Описание свойств

CommandSet публичное статическое свойство

Command menu group (command set GUID).
public static Guid,System CommandSet
Результат System.Guid