C# Class Faker.RandomNumber

Provides access to random number generator.
This is just a convenience class and is just wrapping Random.
Afficher le fichier Open project: AdmiringWorm/Faker.NET.Portable Class Usage Examples

Méthodes publiques

Méthode Description
Next ( ) : int
Next ( int maxValue ) : int
Next ( int minValue, int maxValue ) : int
Next ( long min, long max ) : long
NextBytes ( byte buffer ) : void
NextDouble ( ) : double

Private Methods

Méthode Description
ResetSeed ( int Seed ) : void

Method Details

Next() public static méthode

public static Next ( ) : int
Résultat int

Next() public static méthode

public static Next ( int maxValue ) : int
maxValue int
Résultat int

Next() public static méthode

public static Next ( int minValue, int maxValue ) : int
minValue int
maxValue int
Résultat int

Next() public static méthode

public static Next ( long min, long max ) : long
min long
max long
Résultat long

NextBytes() public static méthode

public static NextBytes ( byte buffer ) : void
buffer byte
Résultat void

NextDouble() public static méthode

public static NextDouble ( ) : double
Résultat double