Ejemplo n.º 1
0
 /// <summary>
 /// The static "Of&lt;T&gt;" part of the generic "Out.Of" syntax.
 /// </summary>
 /// <typeparam name="T">The type of the values.</typeparam>
 /// <param name="seed">The seed.</param>
 /// <returns>A <see cref="GenericOf{T}"/> instance that allows specifying
 /// one or more values.</returns>
 public static GenericOf <T> Of <T>(int seed) => GenericOf <T> .Create(seed);
Ejemplo n.º 2
0
 /// <summary>
 /// The static "Of&lt;T&gt;" part of the generic "Out.Of" syntax.
 /// </summary>
 /// <typeparam name="T">The type of the values.</typeparam>
 /// <param name="rng">A random number generator.</param>
 /// <returns>A <see cref="GenericOf{T}"/> instance that allows specifying
 /// one or more values.</returns>
 public static GenericOf <T> Of <T>(IRandomNumberGenerator rng) => GenericOf <T> .Create(rng);
Ejemplo n.º 3
0
 /// <summary>
 /// The static "Of&lt;T&gt;" part of the generic "Out.Of" syntax.
 /// </summary>
 /// <typeparam name="T">The type of the values.</typeparam>
 /// <returns>A <see cref="GenericOf{T}"/> instance that allows specifying
 /// one or more values.</returns>
 public static GenericOf <T> Of <T>() => GenericOf <T> .Create();