C# Class GameLoader.IO.GameAdder

Afficher le fichier Open project: zlepper/GameLoader Class Usage Examples

Méthodes publiques

Méthode Description
AddGame ( DirectoryInfo d, string name ) : void
AddGames ( string gamePaths ) : void

Méthodes protégées

Méthode Description
OnDataReady ( string path, long size, int count, string name ) : void

Private Methods

Méthode Description
AddABunchOfGames ( object sender, DoWorkEventArgs args ) : void
GetFileData ( object sender, DoWorkEventArgs doWorkEventArgs ) : void

Count the number of files and the total size of the directory

Method Details

AddGame() public méthode

public AddGame ( DirectoryInfo d, string name ) : void
d System.IO.DirectoryInfo
name string
Résultat void

AddGames() public méthode

public AddGames ( string gamePaths ) : void
gamePaths string
Résultat void

OnDataReady() protected méthode

protected OnDataReady ( string path, long size, int count, string name ) : void
path string
size long
count int
name string
Résultat void