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
elementIElementThe 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
elementsIEnumerable<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
lowerColumnThe column containing the lower bound.
upperColumnThe 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
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
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)