C# Class Fluency.IdGenerators.IncrementingIdGenerator

Generates Id values starting at a specific number, incrementing subsequent ids by 1.
Inheritance: IIdGenerator
Afficher le fichier Open project: ChrisEdwards/Fluency

Méthodes publiques

Méthode Description
GetNextId ( ) : int

Gets the next Id.

IncrementingIdGenerator ( )
IncrementingIdGenerator ( int startingValue )

Method Details

GetNextId() public méthode

Gets the next Id.
public GetNextId ( ) : int
Résultat int

IncrementingIdGenerator() public méthode

IncrementingIdGenerator() public méthode

public IncrementingIdGenerator ( int startingValue )
startingValue int