C# Class ProcessMonitor.App.Presenters.MainPresenter

Inheritance: IPresenter
Afficher le fichier Open project: sys27/ProcessMonitor Class Usage Examples

Méthodes publiques

Méthode Description
AddToWatch ( string process ) : void
ClearWatchs ( ) : void
Connect ( string server ) : void
Disconnect ( ) : void
Download ( string path ) : void
Exit ( ) : void
GetAllProcesses ( ) : IEnumerable
LoadWatchs ( ) : void
MainPresenter ( IMainView view ) : System
RemoveWatch ( string process ) : void
Reset ( ) : void
SaveStatistics ( ) : void
SaveWatchs ( ) : void
SetInterval ( uint interval ) : void
Start ( ) : void
Stop ( ) : void
Update ( ) : void

Private Methods

Méthode Description
ConvertMillisecondsToTime ( uint milliseconds ) : string
UpdateTotalTime ( ) : void
UpdateWatchList ( ) : void

Method Details

AddToWatch() public méthode

public AddToWatch ( string process ) : void
process string
Résultat void

ClearWatchs() public méthode

public ClearWatchs ( ) : void
Résultat void

Connect() public méthode

public Connect ( string server ) : void
server string
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Download() public méthode

public Download ( string path ) : void
path string
Résultat void

Exit() public méthode

public Exit ( ) : void
Résultat void

GetAllProcesses() public méthode

public GetAllProcesses ( ) : IEnumerable
Résultat IEnumerable

LoadWatchs() public méthode

public LoadWatchs ( ) : void
Résultat void

MainPresenter() public méthode

public MainPresenter ( IMainView view ) : System
view IMainView
Résultat System

RemoveWatch() public méthode

public RemoveWatch ( string process ) : void
process string
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SaveStatistics() public méthode

public SaveStatistics ( ) : void
Résultat void

SaveWatchs() public méthode

public SaveWatchs ( ) : void
Résultat void

SetInterval() public méthode

public SetInterval ( uint interval ) : void
interval uint
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void