|
@@ -8,7 +8,7 @@ public interface IAppRuntimeFilter {
|
|
}
|
|
}
|
|
|
|
|
|
/// 可以定制具体的配置文件类
|
|
/// 可以定制具体的配置文件类
|
|
-public class AppConfigNode<T> {
|
|
|
|
|
|
+public class AppConfigNode<out T> {
|
|
// 对应APP配置模块中要替换的配置结点Key
|
|
// 对应APP配置模块中要替换的配置结点Key
|
|
public string key;
|
|
public string key;
|
|
// 配置内容,任意内容
|
|
// 配置内容,任意内容
|
|
@@ -21,7 +21,8 @@ public class AppConfigNode: AppConfigNode<object> {
|
|
|
|
|
|
/// 此接口用来生成最终配置文件
|
|
/// 此接口用来生成最终配置文件
|
|
public interface IAppConfigProvider {
|
|
public interface IAppConfigProvider {
|
|
- List<AppConfigNode> get();
|
|
|
|
|
|
+ List<AppConfigNode> get(); // 获取正常开启的配置项
|
|
|
|
+ Dictionary<string, object> output(); // 最终输出结果
|
|
}
|
|
}
|
|
|
|
|
|
/// Table - top entry
|
|
/// Table - top entry
|