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