| GenExtensionsPickGeneratorsT Method (Int32, Gen`1T) |
A generator that picks a given number of elements from a list of generators, randomly.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Gen<List<T>> PickGenerators<T>(
int n,
params Gen<T>[] gs
)
Public Shared Function PickGenerators(Of T) (
n As Integer,
ParamArray gs As Gen(Of T)()
) As Gen(Of List(Of T))
public:
generic<typename T>
static Gen<List<T>^>^ PickGenerators(
int n,
... array<Gen<T>^>^ gs
)
static member PickGenerators :
n : int *
gs : Gen<'T>[] -> Gen<List<'T>>
Parameters
- n
- Type: SystemInt32
The number of items to pick from the list. - gs
- Type: GenT
The list of generators to pick from.
Type Parameters
- T
- The type generated by the generators in the list of generators.
Return Value
Type:
GenListTA generator that generates a given number of elements from a list of generators, randomly.
See Also