C# Class ProcessMonitor.Monitor

Inheritance: IMonitor, IDisposable
Exibir arquivo Open project: sys27/ProcessMonitor

Public Methods

Method Description
AddToWatch ( string process ) : void
ClearWatchs ( ) : void
Dispose ( ) : void
GetAllProcesses ( ) : string[]
GetInterval ( ) : uint
GetStatistics ( ) : Stream
GetTotalWorkTime ( ) : uint
GetWatchList ( ) : ProcessMonitor.WatchProcess[]
IsStarted ( ) : bool
LoadWatchs ( ) : void
Monitor ( ) : System
RemoveWatch ( string process ) : void
Reset ( ) : void
SaveStatistics ( ) : void
SaveWatchs ( ) : void
SetInterval ( uint interval ) : void
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
WatchLoop ( object o, System.Timers.ElapsedEventArgs args ) : void

Method Details

AddToWatch() public method

public AddToWatch ( string process ) : void
process string
return void

ClearWatchs() public method

public ClearWatchs ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetAllProcesses() public method

public GetAllProcesses ( ) : string[]
return string[]

GetInterval() public method

public GetInterval ( ) : uint
return uint

GetStatistics() public method

public GetStatistics ( ) : Stream
return Stream

GetTotalWorkTime() public method

public GetTotalWorkTime ( ) : uint
return uint

GetWatchList() public method

public GetWatchList ( ) : ProcessMonitor.WatchProcess[]
return ProcessMonitor.WatchProcess[]

IsStarted() public method

public IsStarted ( ) : bool
return bool

LoadWatchs() public method

public LoadWatchs ( ) : void
return void

Monitor() public method

public Monitor ( ) : System
return System

RemoveWatch() public method

public RemoveWatch ( string process ) : void
process string
return void

Reset() public method

public Reset ( ) : void
return void

SaveStatistics() public method

public SaveStatistics ( ) : void
return void

SaveWatchs() public method

public SaveWatchs ( ) : void
return void

SetInterval() public method

public SetInterval ( uint interval ) : void
interval uint
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void