C# 클래스 ReSharper.AutoFormatOnSave.ReSharper_AutoFormatOnSavePackage

상속: Microsoft.VisualStudio.Shell.Package
파일 보기 프로젝트 열기: PombeirP/ReSharper.AutoFormatOnSave

공개 메소드들

메소드 설명
ReSharper_AutoFormatOnSavePackage ( ) : System

Initializes a new instance of the ReSharper_AutoFormatOnSavePackage class. 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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
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.

비공개 메소드들

메소드 설명
DisconnectFromVsEvents ( ) : void

Disconnect from DocumentEvents.

InitializeAddIn ( ) : void

Subscribes to the DocumentSaved event.

IsVisualStudioForegroundWindow ( ) : bool
OnBeforeClosingSolution ( ) : void

The on before closing solution.

OnBuildBegin ( vsBuildScope scope, vsBuildAction action ) : void

Called when a build has begun.

OnBuildDone ( vsBuildScope scope, vsBuildAction action ) : void

Called when a build is done.

OnDocumentClosing ( System.Windows.Forms.Document document ) : void

Called when a document is being closed.

OnDocumentSaved ( System.Windows.Forms.Document document ) : void

Called when a document is saved.

OnOpenedSolution ( ) : void

Called when a solution is opened.

ReformatDocuments ( IEnumerable documentsToReformat, bool saveDocumentsAfterwards = false ) : void

Reformats a given list of documents, ensuring that the background timer is stopped during the process.

TimerOnTick ( object sender, EventArgs eventArgs ) : void

Called periodically.

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

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

ReSharper_AutoFormatOnSavePackage() 공개 메소드

Initializes a new instance of the ReSharper_AutoFormatOnSavePackage class. 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 ReSharper_AutoFormatOnSavePackage ( ) : System
리턴 System