mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
16 lines
327 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|