using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace FlowScope.Config { public interface IConfigProvider { Task LoadAllAsync(CancellationToken cancellationToken); T Get(int id) where T : class, IConfigRow; IReadOnlyList GetAll() where T : class, IConfigRow; } }