C# Class Retrospection.Handler

Class which manages the retrospection window & server
ファイルを表示 Open project: sealuzh/PersonalAnalytics Class Usage Examples

Public Properties

Property Type Description
IsRunning bool

Public Methods

Method Description
CloseRetrospection ( ) : void
GetInstance ( ) : Handler

Singleton

Handler ( ) : System
OpenAbout ( ) : void
OpenRetrospection ( ) : bool
OpenRetrospectionInBrowser ( ) : void

User manually wants to have the retrospection in the browser to be able to bookmark it

OpenSettings ( SettingsDto currentSettings ) : SettingsDto
SendFeedback ( string subject = "Feedback", string body = "" ) : void
Start ( List trackers, string appVersion ) : void

start HTTP Localhost

Stop ( ) : void

stop HTTP Localhost

Private Methods

Method Description
CreateNavigateUri ( string parameters ) : string
GetDashboardHome ( ) : string
GetDashboardNavigateUriForType ( System.DateTime date, VisType type ) : string
SetTrackers ( List trackers ) : void

forward the trackers to the server, which actually needs them for the visualization

StartHttpServer ( ) : void

Method Details

CloseRetrospection() public method

public CloseRetrospection ( ) : void
return void

GetInstance() public static method

Singleton
public static GetInstance ( ) : Handler
return Handler

Handler() public method

public Handler ( ) : System
return System

OpenAbout() public method

public OpenAbout ( ) : void
return void

OpenRetrospection() public method

public OpenRetrospection ( ) : bool
return bool

OpenRetrospectionInBrowser() public method

User manually wants to have the retrospection in the browser to be able to bookmark it
public OpenRetrospectionInBrowser ( ) : void
return void

OpenSettings() public method

public OpenSettings ( SettingsDto currentSettings ) : SettingsDto
currentSettings Shared.Data.SettingsDto
return Shared.Data.SettingsDto

SendFeedback() public method

public SendFeedback ( string subject = "Feedback", string body = "" ) : void
subject string
body string
return void

Start() public method

start HTTP Localhost
public Start ( List trackers, string appVersion ) : void
trackers List
appVersion string
return void

Stop() public method

stop HTTP Localhost
public Stop ( ) : void
return void

Property Details

IsRunning public_oe property

public bool IsRunning
return bool