Esempio n. 1
0
 /// <summary>
 /// Creates a generator that produces lists, the elements of which are produced by the given generator. By
 /// default, the generator produces lists ranging from count 0 to 20 - but this can be configured using the
 /// builder methods on <see cref="IListGen{T}"/>.
 /// </summary>
 /// <param name="elementGen">The generator used to produce the elements of the list.</param>
 /// <returns>The new generator.</returns>
 public static IListGen <T> ListOf <T>(this IGen <T> gen) => Gen.List(gen);