C# Class CodicExtension.CodicExtensionPackage

Inheritance: Microsoft.VisualStudio.Shell.Package
显示文件 Open project: codic-project/codic-vs-extension Class Usage Examples

Private Properties

Property Type Description
GenerateMenu_Clicked void
GetActiveTextView IWpfTextView
MenuItemTranslateOnBeforeQueryStatus void
SetDialogPosition void

Public Methods

Method Description
GetTextDocument ( ITextBuffer TextBuffer ) : ITextDocument

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Initialize ( ) : void

Private Methods

Method Description
GenerateMenu_Clicked ( 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.

GetActiveTextView ( ) : IWpfTextView
MenuItemTranslateOnBeforeQueryStatus ( object sender, EventArgs eventArgs ) : void
SetDialogPosition ( IWpfTextView _view, QuickLookDialog dialog ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetTextDocument() public static method

public static GetTextDocument ( ITextBuffer TextBuffer ) : ITextDocument
TextBuffer ITextBuffer
return ITextDocument

Initialize() protected method

protected Initialize ( ) : void
return void