aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Extensions/CopyToExtensions.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-02-04 12:21:42 +0100
committerBond-009 <bond.009@outlook.com>2020-02-04 12:21:42 +0100
commitba1ffbabd3c1fc610b3f0a3de47dbc670920f915 (patch)
tree069c76ee43d1bb5ca4ee1f72f0c95edfe484ed7e /MediaBrowser.Common/Extensions/CopyToExtensions.cs
parent5dc3874ebdeac26d7be885b9a44ca1321b4b25cf (diff)
parent176e8509739ffd3d7002c94adbd814c33b5172e2 (diff)
Merge branch 'master' into nullable2
Diffstat (limited to 'MediaBrowser.Common/Extensions/CopyToExtensions.cs')
-rw-r--r--MediaBrowser.Common/Extensions/CopyToExtensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Common/Extensions/CopyToExtensions.cs b/MediaBrowser.Common/Extensions/CopyToExtensions.cs
index 78a73f07e..2ecbc6539 100644
--- a/MediaBrowser.Common/Extensions/CopyToExtensions.cs
+++ b/MediaBrowser.Common/Extensions/CopyToExtensions.cs
@@ -5,7 +5,7 @@ namespace MediaBrowser.Common.Extensions
/// <summary>
/// Provides <c>CopyTo</c> extensions methods for <see cref="IReadOnlyList{T}" />.
/// </summary>
- public static class CollectionExtensions
+ public static class CopyToExtensions
{
/// <summary>
/// Copies all the elements of the current collection to the specified list
@@ -14,7 +14,7 @@ namespace MediaBrowser.Common.Extensions
/// <param name="source">The current collection that is the source of the elements.</param>
/// <param name="destination">The list that is the destination of the elements copied from the current collection.</param>
/// <param name="index">A 32-bit integer that represents the index in <c>destination</c> at which copying begins.</param>
- /// <typeparam name="T"></typeparam>
+ /// <typeparam name="T">The type of the array.</typeparam>
public static void CopyTo<T>(this IReadOnlyList<T> source, IList<T> destination, int index = 0)
{
for (int i = 0; i < source.Count; i++)