1
0
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:
Oliver Booth 2022-04-20 16:46:02 +01:00
parent 66e7e79561
commit c4b82c2619
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
2 changed files with 6 additions and 2 deletions

View File

@ -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)

View File

@ -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-