C# 클래스 Tp.Integration.Ide.VisualStudio.Services.Controller

Arranges web services calls and the underlying StopWatch component.
상속: IDisposable
파일 보기 프로젝트 열기: TargetProcess/Tp.Integration.Ide.VisualStudio 1 사용 예제들

공개 메소드들

메소드 설명
ChangeState ( AssignableSimpleDTO assignable, EntityStateDTO entityState ) : void
Connect ( bool prompt ) : void
Controller ( ITimeTrackingRepository timeTrackingRepository, IWebServicesFactory webServicesFactory, IControllerEnvironment env ) : System
Disconnect ( ) : void
Dispose ( ) : void
GetCurrent ( ) : TimeRecord
GetLog ( ) : TimeRecord[]
Options ( ) : void
Refresh ( ) : void
Reset ( ) : void

Stops time interval measurement and resets the elapsed time to zero.

Resume ( ) : void
Start ( int assignableID ) : void
Stop ( ) : void
Stop ( string description ) : void
SubmitTime ( ) : void

Posts all recorded time to serever, clears spent time log if succesfull.

비공개 메소드들

메소드 설명
Authenticate ( IWebServices webServices ) : bool
CompleteConnect ( Settings settings ) : void
GetNames ( ) : void

Updated internal dictionary with To Do list item names.

HandleToDoListChanges ( MyAssignments assignments ) : void
StopWatch_OnStart ( StopWatch stopWatch, StopWatchEventArgs eventArgs ) : void
StopWatch_OnStop ( StopWatch stopWatch, StopWatchEventArgs eventArgs ) : void

메소드 상세

ChangeState() 공개 메소드

public ChangeState ( AssignableSimpleDTO assignable, EntityStateDTO entityState ) : void
assignable AssignableSimpleDTO
entityState EntityStateDTO
리턴 void

Connect() 공개 메소드

public Connect ( bool prompt ) : void
prompt bool
리턴 void

Controller() 공개 메소드

public Controller ( ITimeTrackingRepository timeTrackingRepository, IWebServicesFactory webServicesFactory, IControllerEnvironment env ) : System
timeTrackingRepository ITimeTrackingRepository
webServicesFactory IWebServicesFactory
env IControllerEnvironment
리턴 System

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetCurrent() 공개 메소드

public GetCurrent ( ) : TimeRecord
리턴 TimeRecord

GetLog() 공개 메소드

public GetLog ( ) : TimeRecord[]
리턴 TimeRecord[]

Options() 공개 메소드

public Options ( ) : void
리턴 void

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void

Reset() 공개 메소드

Stops time interval measurement and resets the elapsed time to zero.
public Reset ( ) : void
리턴 void

Resume() 공개 메소드

public Resume ( ) : void
리턴 void

Start() 공개 메소드

public Start ( int assignableID ) : void
assignableID int
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( string description ) : void
description string
리턴 void

SubmitTime() 공개 메소드

Posts all recorded time to serever, clears spent time log if succesfull.
public SubmitTime ( ) : void
리턴 void