C# Class Foobricator.Sources.RandomInt

Random integer source
Inheritance: ISource, IFormattable, IDebugInfoProvider
Afficher le fichier Open project: geoffles/Foobricator Class Usage Examples

Méthodes publiques

Méthode Description
GetItem ( ) : object

Random integer value. From Foobricator.Sources.ISource

Next ( ) : void

Evaluate the next random int

RandomInt ( int lower, int upper ) : System

Initalise for the given range

ToString ( string format, IFormatProvider formatProvider ) : string

Format output as per format string

Method Details

GetItem() public méthode

Random integer value. From Foobricator.Sources.ISource
public GetItem ( ) : object
Résultat object

Next() public méthode

Evaluate the next random int
public Next ( ) : void
Résultat void

RandomInt() public méthode

Initalise for the given range
public RandomInt ( int lower, int upper ) : System
lower int
upper int
Résultat System

ToString() public méthode

Format output as per format string
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
Résultat string