C# 클래스 BuildProgress.Connect

The object for implementing an Add-in.
상속: IDTExtensibility2
파일 보기 프로젝트 열기: alastairs/buildprogress

공개 메소드들

메소드 설명
OnAddInsUpdate ( Array &custom ) : void
OnBeginShutdown ( Array &custom ) : void
OnConnection ( object application, ext_ConnectMode connectMode, object addInInstance, Array &custom ) : void

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.

OnDisconnection ( ext_DisconnectMode RemoveMode, Array &custom ) : void
OnStartupComplete ( Array &custom ) : void

비공개 메소드들

메소드 설명
InitialiseProgressValues ( ) : void

Resets any existing build state to give a fresh start.

InitialiseTaskBar ( ) : void

Reset the task bar progress indicator to 0 (no progress) and remove any overlay icon displayed.

OnBuildBegin ( vsBuildScope scope, vsBuildAction action ) : void

Implements a handler for the OnBuildBegin build event. Resets the task bar to 0 (and associated build state metadata stored by the add-in).

OnBuildDone ( vsBuildScope scope, vsBuildAction action ) : void

Sets the appropriate overlay icon to display whether the build was a success or failure.

OnBuildProjConfigDone ( string project, string projectConfig, string platform, string solutionConfig, bool success ) : void

Implements a handler for the OnBuildProjConfigDone build event. Increments the task bar progress indicator, and turns it red on a failed project build.

UpdateProgressValueAndState ( bool errorThrown ) : void

Increments the taskbar progress indicator by one step, and changes the taskbar state to "error" (i.e., red) if a build error has been reported.

메소드 상세

OnAddInsUpdate() 공개 메소드

public OnAddInsUpdate ( Array &custom ) : void
custom System.Array
리턴 void

OnBeginShutdown() 공개 메소드

public OnBeginShutdown ( Array &custom ) : void
custom System.Array
리턴 void

OnConnection() 공개 메소드

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.
public OnConnection ( object application, ext_ConnectMode connectMode, object addInInstance, Array &custom ) : void
application object Root object of the host application.
connectMode ext_ConnectMode Describes how the Add-in is being loaded.
addInInstance object Object representing this Add-in.
custom System.Array Array of custom parameters
리턴 void

OnDisconnection() 공개 메소드

public OnDisconnection ( ext_DisconnectMode RemoveMode, Array &custom ) : void
RemoveMode ext_DisconnectMode
custom System.Array
리턴 void

OnStartupComplete() 공개 메소드

public OnStartupComplete ( Array &custom ) : void
custom System.Array
리턴 void