C# 클래스 EchelonTouchInc.Gister.GisterPackage

상속: Microsoft.VisualStudio.Shell.Package
파일 보기 프로젝트 열기: AppliedIS/Gister

Private Properties

프로퍼티 타입 설명
CreateGist void
GetActiveTextView IWpfTextView
GetCurrentContentForGist string
GetCurrentFilenameForGist string
GetGitHubCredentials GitHubCredentials
GetSelectedText string
NotReadyRockAndRoll bool
NotifyUserThat void
SelectionIsAvailable bool

공개 메소드들

메소드 설명
GisterPackage ( ) : 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 initilaization code that rely on services provided by VisualStudio.

비공개 메소드들

메소드 설명
CreateGist ( 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
GetCurrentContentForGist ( ITextView view ) : string
GetCurrentFilenameForGist ( ) : string
GetGitHubCredentials ( ) : GitHubCredentials
GetSelectedText ( ITextView view ) : string
NotReadyRockAndRoll ( IPropertyOwner view ) : bool
NotifyUserThat ( string format ) : void
SelectionIsAvailable ( ITextView view ) : bool

메소드 상세

GisterPackage() 공개 메소드

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 GisterPackage ( ) : 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 initilaization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
리턴 void