mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-23 10:22:03 +08:00
27 lines
445 B
C#
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);
|
|
}
|
|
}
|