Table of Contents

Constructor Random

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Random()

Initializes a new instance of RANDOM with no arguments, generating a value between 0 and 1.

public Random()

Random(IElement)

Initializes a new instance of RANDOM for a single element.

public Random(IElement element)

Parameters

element IElement

The element to use for random number generation.

Random(IEnumerable<IElement>)

Initializes a new instance of RANDOM for multiple elements.

public Random(IEnumerable<IElement> elements)

Parameters

elements IEnumerable<IElement>

The elements to use for random number generation.

Random(Column, Column)

Initializes a new instance of RANDOM with both lower and upper bound columns.

public Random(Column lower, Column upper)

Parameters

lower Column

The column containing the lower bound.

upper Column

The column containing the upper bound.

Random(int, int)

Initializes a new instance of RANDOM with integer lower and upper bound literals.

public Random(int lower, int upper)

Parameters

lower int

The integer lower bound.

upper int

The integer upper bound.

Random(double, Column)

Initializes a new instance of RANDOM with a double lower bound and an upper bound column.

public Random(double lower, Column upper)

Parameters

lower double

The double lower bound.

upper Column

The column containing the upper bound.

Random(Column, double)

Initializes a new instance of RANDOM with a lower bound column and a double upper bound.

public Random(Column lower, double upper)

Parameters

lower Column

The column containing the lower bound.

upper double

The double upper bound.