增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,39 @@
|
||||
//namespace Store.Client
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 根据 DI 注册 Key 获取服务配置。
|
||||
// /// Keyed DI 配置作为初始值,登录后获取到的服务地址可以覆盖初始值。
|
||||
// /// </summary>
|
||||
// public interface IServiceConfigProvider
|
||||
// {
|
||||
// /// <summary>
|
||||
// /// 获取指定 Key 的服务配置。
|
||||
// /// </summary>
|
||||
// IServerConfig Get(string key);
|
||||
|
||||
// /// <summary>
|
||||
// /// 尝试获取指定 Key 的服务配置。
|
||||
// /// </summary>
|
||||
// bool TryGet(string key, out IServerConfig config);
|
||||
|
||||
// /// <summary>
|
||||
// /// 设置或覆盖指定 Key 的完整服务配置。
|
||||
// /// </summary>
|
||||
// void Set(string key, IServerConfig config);
|
||||
|
||||
// /// <summary>
|
||||
// /// 设置或覆盖指定 Key 的服务配置。
|
||||
// /// </summary>
|
||||
// void Set(string key, string host, string objUrl);
|
||||
|
||||
// /// <summary>
|
||||
// /// 只更新指定 Key 的 Host,保留原有 ObjUrl。
|
||||
// /// </summary>
|
||||
// void SetHost(string key, string host);
|
||||
|
||||
// /// <summary>
|
||||
// /// 删除运行时覆盖配置。删除后会回退到 Keyed DI 初始配置。
|
||||
// /// </summary>
|
||||
// bool Remove(string key);
|
||||
// }
|
||||
//}
|
||||
Reference in new issue
Block a user