provides a singleton wrapper around Random.Next to reduce the chances of clashing
More...
|
static int | Next () |
| Wraps Random.Next.
|
static int | Next (int maxValue) |
| Wraps Random.Next.
|
static int | Next (int minValue, int maxValue) |
| Wraps Random.Next.
|
static double | NextDouble () |
| Wraps Random.NextDouble.
|
static void | NextBytes (byte[] buffer) |
| Wraps Random.NextBytes.
|
provides a singleton wrapper around Random.Next to reduce the chances of clashing
◆ Next() [1/3]
int PeanutButter.Utils.RandomNumber.Next |
( |
| ) |
|
|
static |
Wraps Random.Next.
- Returns
◆ Next() [2/3]
int PeanutButter.Utils.RandomNumber.Next |
( |
int | maxValue | ) |
|
|
static |
Wraps Random.Next.
- Parameters
-
- Returns
◆ Next() [3/3]
int PeanutButter.Utils.RandomNumber.Next |
( |
int | minValue, |
|
|
int | maxValue ) |
|
static |
Wraps Random.Next.
- Parameters
-
- Returns
◆ NextBytes()
void PeanutButter.Utils.RandomNumber.NextBytes |
( |
byte[] | buffer | ) |
|
|
static |
Wraps Random.NextBytes.
- Parameters
-
◆ NextDouble()
double PeanutButter.Utils.RandomNumber.NextDouble |
( |
| ) |
|
|
static |
Wraps Random.NextDouble.
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/RandomNumber.cs