配置文件功能完善

This commit is contained in:
rmbgame
2021-03-06 11:01:13 +08:00
parent 3cbcabeedf
commit ca93b3f9c8
29 changed files with 906 additions and 77 deletions
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace System.Application.Serialization
{
public interface ISerializationProvider
{
bool IsLoaded { get; }
void Save();
void Load();
/// <summary>
/// 在provider已重新加载到期时发生
/// </summary>
event EventHandler Reloaded;
void SetValue<T>(string key, T value);
bool TryGetValue<T>(string key, out T value);
bool RemoveValue(string key);
}
}