Files
2025-08-27 03:02:29 +02:00

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();
}