mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-26 03:59:34 +08:00
配置文件功能完善
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user