C# Класс CommentReflower.CommentReflowerPackage

Наследование: Microsoft.VisualStudio.Shell.Package
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
MenuItemCallback void
QueryStatusCallback void
ShowMessageBox void

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

Метод Описание
CommentReflowerPackage ( ) : System

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.

Защищенные методы

Метод Описание
Initialize ( ) : void

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initialization code that rely on services provided by VisualStudio.

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

Метод Описание
MenuItemCallback ( object sender, EventArgs e ) : void

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

QueryStatusCallback ( object sender, EventArgs e ) : void

Sets visibility and enabled state of menu commands.

ShowMessageBox ( string title, string format ) : void

Simple wrapper for IVsUIShell.ShowMessageBox

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

CommentReflowerPackage() публичный Метод

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.
public CommentReflowerPackage ( ) : System
Результат System

Initialize() защищенный Метод

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initialization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
Результат void