namespace WIDESEAWCS_RedisService.Configuration { public interface IConfigurationCenterService { /// /// 设置配置项 /// bool Set(string section, string key, string value); /// /// 获取配置项 /// string? Get(string section, string key); /// /// 获取整个配置节 /// Dictionary GetSection(string section); /// /// 删除配置项 /// bool Delete(string section, string key); /// /// 订阅配置变更 /// void Subscribe(string section, Action onChange); } }