Click or drag to resize

FieldTGenerate Method

Generate an element of the type.

Namespace:  WhetStone.Fielding
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public virtual T Generate(
	IEnumerable<byte> bytes,
	Tuple<T, T> bounds = null,
	Object special = null
)

Parameters

bytes
Type: System.Collections.GenericIEnumerableByte
A {potentially infinite) IEnumerableT of bytes to serve as the generation seed of the element.
bounds (Optional)
Type: SystemTupleT, T
The bounds in which to constrain the created element. The first element is inclusive, the second is exclusive.
special (Optional)
Type: SystemObject
Special constraints for the created element.

Return Value

Type: T
An element created from the bytes and the constraints.
See Also