C# Class ShoeVox.ProcessWatcher

Inheritance: IDisposable
显示文件 Open project: BaskinCutlerProjects/ShoeVox

Public Methods

Method Description
Dispose ( ) : void
ProcessWatcher ( ) : System
Watch ( List processNames, int timeThreshold = 5 ) : void

Protected Methods

Method Description
OnProcessEvent ( ProcessEventArgs e ) : void

Private Methods

Method Description
doWatch ( string eventName, int timeThreshold, List processNames ) : void
watcher_EventArrived ( object sender, System.Management.EventArrivedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnProcessEvent() protected method

protected OnProcessEvent ( ProcessEventArgs e ) : void
e ProcessEventArgs
return void

ProcessWatcher() public method

public ProcessWatcher ( ) : System
return System

Watch() public method

public Watch ( List processNames, int timeThreshold = 5 ) : void
processNames List
timeThreshold int
return void