14 lines
353 B
C#
14 lines
353 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FlowScope.Config
|
|
{
|
|
public interface IConfigProvider
|
|
{
|
|
Task LoadAllAsync(CancellationToken cancellationToken);
|
|
T Get<T>(int id) where T : class, IConfigRow;
|
|
IReadOnlyList<T> GetAll<T>() where T : class, IConfigRow;
|
|
}
|
|
}
|