mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-09 09:04:20 +01:00
12 lines
260 B
C#
12 lines
260 B
C#
using System;
|
|
using System.Linq;
|
|
using BTCPayServer.Rating;
|
|
|
|
namespace BTCPayServer;
|
|
public record DefaultRates(RateRules Rules)
|
|
{
|
|
public DefaultRates(string[] Rules) : this(RateRules.Combine(Rules.Select(r => RateRules.Parse(r)).ToArray()))
|
|
{
|
|
}
|
|
}
|