XFEExtension
【DLL】XFE各类拓展是一个C#的DLL库,旨在优化C#代码中常用语句的使用,并提供更简洁的访问方式,同时提供Xunit测试框架,快速搭建服务器/客户端,免费ChatGPTAPI接口,免费通讯服务器,XFE下载器,新增格式等
关注
0
Fork
0
Star
0
返回提交历史
Modified
XFEExtension.NetCore.Test/Program.cs
+2
-2
Modified
XFEExtension.NetCore/XFEExtension.NetCore.csproj
+2
-2
XFEstudio/XFEExtension
注释无用的 jsonNode 运算符访问并优化签名配置
对 Program.cs 中无用的 - 和 / 运算符访问方式进行注释,避免执行无效代码。对 XFEExtension.NetCore.csproj 的签名相关配置增加条件判断,避免在 .NET Core 环境下构建出错。
c1cbfac
代码差异
2 个文件
+4
-4
@@ -11,8 +11,8 @@ internal class Program
11
11
value = jsonNode > "test1" > "subObject" > "testText";
12
12
value = jsonNode < "test1" < "subObject" < "testText";
13
13
value = jsonNode < "test1" > "subObject" < "testText" > "myProperty";
14
value = jsonNode - "test1" - "subObject" - "testText" - "myProperty";
15
value = jsonNode / "test1" / "subObject" / "testText" / "myProperty";
14
//value = jsonNode - "test1" - "subObject" - "testText" - "myProperty";
15
//value = jsonNode / "test1" / "subObject" / "testText" / "myProperty";
16
16
//var testClass = new TestClass("123", "sda", 12);
17
17
//testClass.ToJson().CW();
18
18
}
@@ -11,7 +11,7 @@
11
11
<AnalysisLevel>latest</AnalysisLevel>
12
12
<PackAsTool>False</PackAsTool>
13
13
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
14
<SignAssembly>True</SignAssembly>
14
<SignAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">True</SignAssembly>
15
15
<Copyright>寰宇朽力网络科技有限公司版权所有</Copyright>
16
16
<PackageProjectUrl>https://github.com/XFEstudio/XFEExtension</PackageProjectUrl>
17
17
<PackageIcon>logoIcon.png</PackageIcon>
@@ -34,7 +34,7 @@
34
34
<NeutralLanguage>zh-CN</NeutralLanguage>
35
35
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
36
36
<PackageLicenseFile>LICENSE</PackageLicenseFile>
37
<AssemblyOriginatorKeyFile>..\XFEstudio.pfx</AssemblyOriginatorKeyFile>
37
<AssemblyOriginatorKeyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">..\XFEstudio.pfx</AssemblyOriginatorKeyFile>
38
38
<Version>$(Version)</Version>
39
39
<Authors>XFEstudio</Authors>
40
40
</PropertyGroup>