Esempio n. 1
0
 /// <summary>
 /// Returns a random item from an IEnumerable.
 /// </summary>
 /// <param name="items">The items to choose from.</param>
 public T ChooseRandomItem <T>(IEnumerable <T> items) =>
 _context.ChooseRandomItem(items);