IW4M-Admin/SharedLibraryCore/Interfaces/IConfigurationHandlerV2.cs

13 lines
404 B
C#
Raw Normal View History

using System;
using System.Threading.Tasks;
2023-02-11 22:09:02 -05:00
namespace SharedLibraryCore.Interfaces;
public interface IConfigurationHandlerV2<TConfigurationType> where TConfigurationType: class
{
Task<TConfigurationType> Get(string configurationName, TConfigurationType defaultConfiguration = null);
Task Set(TConfigurationType configuration);
Task Set();
event Action<TConfigurationType> Updated;
2023-02-11 22:09:02 -05:00
}