using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Lightning; namespace BTCPayServer.Configuration.External { public class ExternalServices : MultiValueDictionary { public IEnumerable GetServices(string cryptoCode) where T : ExternalService { if (!this.TryGetValue(cryptoCode.ToUpperInvariant(), out var services)) return Array.Empty(); return services.OfType(); } } public class ExternalService { } }