btcpayserver/BTCPayServer.Common/Extensions.cs

16 lines
327 B
C#

using System.Collections.Generic;
namespace BTCPayServer
{
public static class UtilitiesExtensions
{
public static void AddRange<T>(this HashSet<T> hashSet, IEnumerable<T> items)
{
foreach (var item in items)
{
hashSet.Add(item);
}
}
}
}