C# Class GameLoader.IO.GameAdder

Mostra file Open project: zlepper/GameLoader Class Usage Examples

Public Methods

Method Description
AddGame ( DirectoryInfo d, string name ) : void
AddGames ( string gamePaths ) : void

Protected Methods

Method Description
OnDataReady ( string path, long size, int count, string name ) : void

Private Methods

Method 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 method

public AddGame ( DirectoryInfo d, string name ) : void
d System.IO.DirectoryInfo
name string
return void

AddGames() public method

public AddGames ( string gamePaths ) : void
gamePaths string
return void

OnDataReady() protected method

protected OnDataReady ( string path, long size, int count, string name ) : void
path string
size long
count int
name string
return void