C# Класс EU4.Stats.Web.IncrementIdGenerator

Thread safe incremental counter that picks up with the last id from the previous run of the program
Наследование: IIdGenerator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
IncrementIdGenerator ( string gamedir ) : System.IO

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

NextId ( ) : string

Описание методов

IncrementIdGenerator() публичный Метод

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" ///
Результат System.IO

NextId() публичный Метод

public NextId ( ) : string
Результат string