using System; using System.Collections.Generic; using System.Linq; namespace System.Application.Serialization { public interface ISerializationProvider { bool IsLoaded { get; } void Save(); void Load(); /// /// 在provider已重新加载到期时发生 /// event EventHandler Reloaded; void SetValue(string key, T value); bool TryGetValue(string key, out T value); bool RemoveValue(string key); } }