using System; using System.Threading.Tasks; namespace SharedLibraryCore.Interfaces; public interface IConfigurationHandlerV2 where TConfigurationType: class { Task Get(string configurationName, TConfigurationType defaultConfiguration = null); Task Set(TConfigurationType configuration); Task Set(); event Action Updated; }