mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 23:25:43 +00:00
[ci skip] Fix xmldoc for Shuffle/Shuffled (#15)
This commit is contained in:
parent
66e7e79561
commit
c4b82c2619
@ -39,7 +39,11 @@ public static class ListExtensions
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The element type.</typeparam>
|
||||
/// <param name="source">The <see cref="IList{T}" /> to shuffle.</param>
|
||||
/// <param name="random">Optional. The <see cref="System.Random" /> instance to use for the shuffling.</param>
|
||||
/// <param name="random">
|
||||
/// The <see cref="System.Random" /> instance to use for the shuffling. If <see langword="null" /> is specified, an
|
||||
/// internal instance of <see cref="System.Random" /> is used.
|
||||
/// </param>
|
||||
/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||||
public static void Shuffle<T>(this IList<T> source, Random? random = null)
|
||||
{
|
||||
if (source is null)
|
||||
|
@ -143,7 +143,7 @@ public static class RandomExtensions
|
||||
/// <typeparam name="T">The element type.</typeparam>
|
||||
/// <param name="random">The <see cref="System.Random" /> instance.</param>
|
||||
/// <param name="source">The source collection from which to draw.</param>
|
||||
/// <returns>A random element of type <see cref="T" /> from <paramref name="source" />.</returns>
|
||||
/// <returns>A random element of type <typeparamref name="T" /> from <paramref name="source" />.</returns>
|
||||
/// <exception cref="ArgumentNullException">
|
||||
/// <paramref name="random" /> is is <see langword="null" />
|
||||
/// -or-
|
||||
|
Loading…
Reference in New Issue
Block a user