btcpayserver/BTCPayServer/Services/Reporting/ReportProvider.cs
2023-10-18 10:09:03 +02:00

16 lines
398 B
C#

#nullable enable
using System.Threading.Tasks;
using System.Threading;
namespace BTCPayServer.Services.Reporting
{
public abstract class ReportProvider
{
public virtual bool IsAvailable()
{
return true;
}
public abstract string Name { get; }
public abstract Task Query(QueryContext queryContext, CancellationToken cancellation);
}
}