2022-01-26 11:32:16 -05:00
|
|
|
|
using System.Threading.Tasks;
|
2018-03-18 22:25:11 -04:00
|
|
|
|
|
2018-04-08 02:44:42 -04:00
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
2018-03-18 22:25:11 -04:00
|
|
|
|
{
|
|
|
|
|
public interface IConfigurationHandler<T> where T : IBaseConfiguration
|
|
|
|
|
{
|
2022-01-26 11:32:16 -05:00
|
|
|
|
string FileName { get; }
|
2018-03-18 22:25:11 -04:00
|
|
|
|
Task Save();
|
|
|
|
|
void Build();
|
|
|
|
|
T Configuration();
|
|
|
|
|
void Set(T config);
|
|
|
|
|
}
|
2022-01-26 11:32:16 -05:00
|
|
|
|
}
|