1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

implement IConfigurationHandlerV2

This commit is contained in:
RaidMax
2023-02-11 21:09:02 -06:00
parent 2b6720d4e2
commit 957c88970d
4 changed files with 229 additions and 2 deletions

View File

@ -0,0 +1,10 @@
using System.Threading.Tasks;
namespace SharedLibraryCore.Interfaces;
public interface IConfigurationHandlerV2<TConfigurationType> where TConfigurationType: class
{
Task<TConfigurationType> Get(string configurationName, TConfigurationType defaultConfiguration = null);
Task Set(TConfigurationType configuration);
Task Set();
}