Click or drag to resize
GenExtensionsPickGeneratorsT Method (Int32, IEnumerableGen`1T)
A generator that picks a given number of elements from a list of generators, randomly.

Namespace: FsCheckUtils
Assembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static Gen<List<T>> PickGenerators<T>(
	int n,
	IEnumerable<Gen<T>> gs
)

Parameters

n
Type: SystemInt32
The number of items to pick from the list.
gs
Type: System.Collections.GenericIEnumerableGenT
The list of generators to pick from.

Type Parameters

T
The type generated by the generators in the list of generators.

Return Value

Type: GenListT
A generator that generates a given number of elements from a list of generators, randomly.
See Also