C# Class EU4.Stats.Web.IncrementIdGenerator

Thread safe incremental counter that picks up with the last id from the previous run of the program
Inheritance: IIdGenerator
Afficher le fichier Open project: nickbabcock/EU4.Savegame Class Usage Examples

Méthodes publiques

Méthode Description
IncrementIdGenerator ( string gamedir ) : System.IO

Initializes the first id to the max numerical filename in a given directory.

NextId ( ) : string

Method Details

IncrementIdGenerator() public méthode

Initializes the first id to the max numerical filename in a given directory.
public IncrementIdGenerator ( string gamedir ) : System.IO
gamedir string /// Directory filled with files like "1.html", "2.html" ///
Résultat System.IO

NextId() public méthode

public NextId ( ) : string
Résultat string