mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 10:32:13 +01:00
29 lines
647 B
C#
29 lines
647 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using BTCPayServer.Rating;
|
|||
|
|
|||
|
namespace BTCPayServer.Services.Rates
|
|||
|
{
|
|||
|
public class NullRateProvider : IRateProvider
|
|||
|
{
|
|||
|
private NullRateProvider()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
private static readonly NullRateProvider _Instance = new NullRateProvider();
|
|||
|
public static NullRateProvider Instance
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return _Instance;
|
|||
|
}
|
|||
|
}
|
|||
|
public Task<ExchangeRates> GetRatesAsync()
|
|||
|
{
|
|||
|
return Task.FromResult(new ExchangeRates());
|
|||
|
}
|
|||
|
}
|
|||
|
}
|