C# 클래스 WakaTime.WakaTime

파일 보기 프로젝트 열기: gandarez/ssms-wakatime 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ApiKey string
Debug bool

공개 메소드들

메소드 설명
Exec ( string commandName, vsCommandExecOption executeOption, object &varIn, object &varOut, bool &handled ) : void

Implements the Exec method of the IDTCommandTarget interface. This is called when the command is invoked.

OnAddInsUpdate ( Array &custom ) : void

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification when the collection of Add-ins has changed.

OnBeginShutdown ( Array &custom ) : void

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.

OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, Array &custom ) : void

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

OnDisconnection ( ext_DisconnectMode disconnectMode, Array &custom ) : void

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.

OnStartupComplete ( Array &custom ) : void

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.

QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void

Implements the QueryStatus method of the IDTCommandTarget interface. This is called when the command's availability is updated

SendHeartbeat ( string fileName, bool isWrite ) : void
WakaTime ( ) : System

Implements the constructor for the Add-in object. Place your initialization code within this method.

비공개 메소드들

메소드 설명
DocEventsOnDocumentOpened ( System.Windows.Forms.Document document ) : void
DocEventsOnDocumentSaved ( System.Windows.Forms.Document document ) : void
DoesCliExist ( ) : bool
EnoughTimePassed ( ) : bool
GetSettings ( ) : void
HandleActivity ( string currentFile, bool isWrite ) : void
IsCliLatestVersion ( ) : bool
PromptApiKey ( ) : void
WindowsEventsOnWindowActivated ( Window gotFocus, Window lostFocus ) : void

메소드 상세

Exec() 공개 메소드

Implements the Exec method of the IDTCommandTarget interface. This is called when the command is invoked.
public Exec ( string commandName, vsCommandExecOption executeOption, object &varIn, object &varOut, bool &handled ) : void
commandName string
executeOption vsCommandExecOption
varIn object
varOut object
handled bool
리턴 void

OnAddInsUpdate() 공개 메소드

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification when the collection of Add-ins has changed.
public OnAddInsUpdate ( Array &custom ) : void
custom System.Array
리턴 void

OnBeginShutdown() 공개 메소드

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.
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 addInInst, Array &custom ) : void
application object
connectMode ext_ConnectMode
addInInst object
custom System.Array
리턴 void

OnDisconnection() 공개 메소드

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.
public OnDisconnection ( ext_DisconnectMode disconnectMode, Array &custom ) : void
disconnectMode ext_DisconnectMode
custom System.Array
리턴 void

OnStartupComplete() 공개 메소드

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.
public OnStartupComplete ( Array &custom ) : void
custom System.Array
리턴 void

QueryStatus() 공개 메소드

Implements the QueryStatus method of the IDTCommandTarget interface. This is called when the command's availability is updated
public QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void
commandName string
neededText vsCommandStatusTextWanted
status vsCommandStatus
commandText object
리턴 void

SendHeartbeat() 공개 정적인 메소드

public static SendHeartbeat ( string fileName, bool isWrite ) : void
fileName string
isWrite bool
리턴 void

WakaTime() 공개 메소드

Implements the constructor for the Add-in object. Place your initialization code within this method.
public WakaTime ( ) : System
리턴 System

프로퍼티 상세

ApiKey 공개적으로 정적으로 프로퍼티

public static string ApiKey
리턴 string

Debug 공개적으로 정적으로 프로퍼티

public static bool Debug
리턴 bool