C# Class Tp.Integration.Ide.VisualStudio.Services.Controller

Arranges web services calls and the underlying StopWatch component.
Inheritance: IDisposable
Afficher le fichier Open project: TargetProcess/Tp.Integration.Ide.VisualStudio Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

ChangeState() public méthode

public ChangeState ( AssignableSimpleDTO assignable, EntityStateDTO entityState ) : void
assignable AssignableSimpleDTO
entityState EntityStateDTO
Résultat void

Connect() public méthode

public Connect ( bool prompt ) : void
prompt bool
Résultat void

Controller() public méthode

public Controller ( ITimeTrackingRepository timeTrackingRepository, IWebServicesFactory webServicesFactory, IControllerEnvironment env ) : System
timeTrackingRepository ITimeTrackingRepository
webServicesFactory IWebServicesFactory
env IControllerEnvironment
Résultat System

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetCurrent() public méthode

public GetCurrent ( ) : TimeRecord
Résultat TimeRecord

GetLog() public méthode

public GetLog ( ) : TimeRecord[]
Résultat TimeRecord[]

Options() public méthode

public Options ( ) : void
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void

Reset() public méthode

Stops time interval measurement and resets the elapsed time to zero.
public Reset ( ) : void
Résultat void

Resume() public méthode

public Resume ( ) : void
Résultat void

Start() public méthode

public Start ( int assignableID ) : void
assignableID int
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Stop() public méthode

public Stop ( string description ) : void
description string
Résultat void

SubmitTime() public méthode

Posts all recorded time to serever, clears spent time log if succesfull.
public SubmitTime ( ) : void
Résultat void