Esempio 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);
Esempio 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);
Esempio 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();