C# Class Faker.RandomNumber

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

Public Methods

Method 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

Method Description
ResetSeed ( int Seed ) : void

Method Details

Next() public static method

public static Next ( ) : int
return int

Next() public static method

public static Next ( int maxValue ) : int
maxValue int
return int

Next() public static method

public static Next ( int minValue, int maxValue ) : int
minValue int
maxValue int
return int

Next() public static method

public static Next ( long min, long max ) : long
min long
max long
return long

NextBytes() public static method

public static NextBytes ( byte buffer ) : void
buffer byte
return void

NextDouble() public static method

public static NextDouble ( ) : double
return double