15 lines
364 B
C#
15 lines
364 B
C#
using LightlessSyncShared.Utils.Configuration;
|
|
|
|
namespace LightlessSyncShared.Services;
|
|
|
|
public interface IConfigurationService<T> where T : class, ILightlessConfiguration
|
|
{
|
|
bool IsMain { get; }
|
|
|
|
event EventHandler ConfigChangedEvent;
|
|
|
|
T1 GetValue<T1>(string key);
|
|
T1 GetValueOrDefault<T1>(string key, T1 defaultValue);
|
|
string ToString();
|
|
}
|