XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.AutoConfig

【DLL】自动实现配置文件的存储

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFEExtension.NetCore.AutoConfig

修复导入配置文件出错的bug

d211479
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

2 个文件 +3 -2
Modified XFEExtension.NetCore.AutoConfig/XFEExtension.NetCore.AutoConfig.csproj +2 -1
@@ -18,6 +18,7 @@
18 18 <PackageReleaseNotes>## 调整
19 19
20 20 调整多数代码,使得其尽可能的减少使用反射的次数以提高整体代码运行性能
21 修复导入配置文件出错的bug
21 22
22 23 ## 新增
23 24
@@ -28,7 +29,7 @@
28 29
29 30 由于AOT支持等多种原因,现在XFEProfile不再实现对配置文件的统一管理</PackageReleaseNotes>
30 31 <PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
31 <Version>2.0.0</Version>
32 <Version>2.0.1</Version>
32 33 <GenerateDocumentationFile>True</GenerateDocumentationFile>
33 34 </PropertyGroup>
34 35
Modified XFEExtension.NetCore.AutoConfig/XFEProfile.cs +1 -1
@@ -170,7 +170,7 @@ public abstract class XFEProfile
170 170 /// <returns></returns>
171 171 internal protected XFEProfile InstanceImportProfile(string profileString)
172 172 {
173 if (LoadOperation(this, File.ReadAllText(ProfilePath), PropertyInfoDictionary, PropertySetFuncDictionary) is XFEProfile xFEProfile)
173 if (LoadOperation(this, profileString, PropertyInfoDictionary, PropertySetFuncDictionary) is XFEProfile xFEProfile)
174 174 {
175 175 xFEProfile.Initialize();
176 176 return xFEProfile;