Files
SteamTools/System.Application.SteamTools.Client.Desktop/Serialization/ISerializationProvider.cs
T
2021-03-06 11:01:13 +08:00

27 lines
445 B
C#

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);
}
}