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