2022-04-10 03:38:39 +03:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace YoutubeDownloader.Core.Utils.Extensions;
|
|
|
|
|
|
2023-07-10 20:19:52 +03:00
|
|
|
|
internal static class CollectionExtensions
|
2022-04-10 03:38:39 +03:00
|
|
|
|
{
|
|
|
|
|
public static void AddRange<T>(this ICollection<T> source, IEnumerable<T> items)
|
|
|
|
|
{
|
|
|
|
|
foreach (var i in items)
|
|
|
|
|
source.Add(i);
|
|
|
|
|
}
|
|
|
|
|
}
|