14 lines
353 B
C#
14 lines
353 B
C#
using OF_DL.Entities;
|
|
|
|
namespace OF_DL.Services
|
|
{
|
|
public interface IConfigService
|
|
{
|
|
Config CurrentConfig { get; }
|
|
bool IsCliNonInteractive { get; }
|
|
Task<bool> LoadConfigurationAsync(string[] args);
|
|
Task SaveConfigurationAsync(string filePath = "config.conf");
|
|
void UpdateConfig(Config newConfig);
|
|
}
|
|
}
|