mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
21 lines
543 B
C#
21 lines
543 B
C#
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using BTCPayServer.Client.Models;
|
||
|
using BTCPayServer.Services.Reporting;
|
||
|
|
||
|
namespace BTCPayServer.Services
|
||
|
{
|
||
|
public class ReportService
|
||
|
{
|
||
|
public ReportService(IEnumerable<ReportProvider> reportProviders)
|
||
|
{
|
||
|
foreach (var r in reportProviders)
|
||
|
{
|
||
|
ReportProviders.Add(r.Name, r);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public Dictionary<string, ReportProvider> ReportProviders { get; } = new Dictionary<string, ReportProvider>();
|
||
|
}
|
||
|
}
|