using System.Collections.Generic; using System.Linq; using BTCPayServer.Client.Models; using BTCPayServer.Services.Reporting; namespace BTCPayServer.Services { public class ReportService { public ReportService(IEnumerable reportProviders) { foreach (var r in reportProviders) { ReportProviders.Add(r.Name, r); } } public Dictionary ReportProviders { get; } = new Dictionary(); } }