C# 클래스 EU4.Stats.Web.IncrementIdGenerator

Thread safe incremental counter that picks up with the last id from the previous run of the program
상속: IIdGenerator
파일 보기 프로젝트 열기: nickbabcock/EU4.Savegame 1 사용 예제들

공개 메소드들

메소드 설명
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