mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
16 lines
398 B
C#
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);
|
|
}
|
|
}
|