C# Class GameMachine.ProcessTracker

Afficher le fichier Open project: gamemachine/gamemachine

Méthodes publiques

Свойство Type Description
processes string>.Dictionary

Méthodes publiques

Méthode 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

Méthode Description
DataFile ( ) : string

Method Details

AddProcess() public static méthode

public static AddProcess ( Process process, string name ) : void
process Process
name string
Résultat void

HasProcess() public static méthode

public static HasProcess ( string name ) : bool
name string
Résultat bool

Load() public static méthode

public static Load ( ) : void
Résultat void

RemoveProcess() public static méthode

public static RemoveProcess ( int id ) : void
id int
Résultat void

Save() public static méthode

public static Save ( ) : void
Résultat void

Start() public static méthode

public static Start ( string name, string fileName, string arguments, string workingDirectory ) : Process
name string
fileName string
arguments string
workingDirectory string
Résultat Process

Stop() public static méthode

public static Stop ( string name ) : void
name string
Résultat void

UpdateProcesses() public static méthode

public static UpdateProcesses ( ) : void
Résultat void

Property Details

processes public_oe static_oe property

public static Dictionary processes
Résultat string>.Dictionary