Logo Orsak

IRandom Type

Generates random numbers. An effect interface, so that code using randomness can be run with a seeded or fixed generator in tests.

Instance members

Instance member Description

this.Next

Full Usage: this.Next

Parameters:
    arg0 : int * int

Returns: int
Modifiers: abstract

A random integer from the first value of the tuple, inclusive, to the second, exclusive.

arg0 : int * int
Returns: int

this.NextDouble

Full Usage: this.NextDouble

Returns: float
Modifiers: abstract

A random floating-point number that is greater than or equal to 0.0, and less than 1.0.

Returns: float

Type something to start searching.