btcpayserver/BTCPayServer.Common/Extensions.cs
2019-05-24 18:42:22 +09:00

18 lines
363 B
C#

using System;
using System.Collections.Generic;
using System.Text;
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);
}
}
}
}