C# Class GameMachine.ProcessTracker

ファイルを表示 Open project: gamemachine/gamemachine

Public Properties

Property Type Description
processes string>.Dictionary

Public Methods

Method Description
AddProcess ( Process process, string name ) : void
HasProcess ( string name ) : bool
Load ( ) : void
RemoveProcess ( int id ) : void
Save ( ) : void
Start ( string name, string fileName, string arguments, string workingDirectory ) : Process
Stop ( string name ) : void
UpdateProcesses ( ) : void

Private Methods

Method Description
DataFile ( ) : string

Method Details

AddProcess() public static method

public static AddProcess ( Process process, string name ) : void
process Process
name string
return void

HasProcess() public static method

public static HasProcess ( string name ) : bool
name string
return bool

Load() public static method

public static Load ( ) : void
return void

RemoveProcess() public static method

public static RemoveProcess ( int id ) : void
id int
return void

Save() public static method

public static Save ( ) : void
return void

Start() public static method

public static Start ( string name, string fileName, string arguments, string workingDirectory ) : Process
name string
fileName string
arguments string
workingDirectory string
return Process

Stop() public static method

public static Stop ( string name ) : void
name string
return void

UpdateProcesses() public static method

public static UpdateProcesses ( ) : void
return void

Property Details

processes public_oe static_oe property

public static Dictionary processes
return string>.Dictionary