返回提交历史
Modified
XFEExtension.NetCore.XFEConsole/XFEConsole.cs
+2
-2
Modified
XFEExtension.NetCore.XFEConsole/XFEExtension.NetCore.XFEConsole.csproj
+3
-3
XFEstudio/XFEExtension.NetCore.XFEConsole
适配新版本
31c9c95
代码差异
2 个文件
+5
-5
@@ -99,12 +99,12 @@ public class XFEConsole
99
99
/// <param name="onlyProperty">仅解析属性</param>
100
100
/// <param name="onlyPublic">仅解析公共属性或字段</param>
101
101
/// <returns></returns>
102
public static async Task WriteObject(object? obj, string remarkName = "分析对象", bool onlyProperty = false, bool onlyPublic = true)
102
public static async Task WriteObject(object? obj, bool onlyProperty = false, bool onlyPublic = true, string remarkName = "分析对象")
103
103
{
104
104
var objectInfo = "[color red]无法分析对象:[color white]";
105
105
try
106
106
{
107
objectInfo = XFEConverter.GetObjectInfo(StringConverter.ColoredObjectAnalyzer, remarkName, ObjectPlace.Main, 0, obj?.GetType(), obj, onlyProperty, onlyPublic).OutPutObject();
107
objectInfo = XFEConverter.GetObjectInfo(StringConverter.ColoredObjectAnalyzer, remarkName, ObjectPlace.Main, 0, [obj], obj?.GetType(), obj, onlyProperty, onlyPublic).OutPutObject();
108
108
}
109
109
catch (Exception ex)
110
110
{
@@ -4,7 +4,7 @@
4
4
<TargetFramework>net8.0</TargetFramework>
5
5
<ImplicitUsings>enable</ImplicitUsings>
6
6
<Nullable>enable</Nullable>
7
<Version>1.0.0</Version>
7
<Version>1.0.1</Version>
8
8
<Authors>XFEstudio</Authors>
9
9
<Company>寰宇朽力网络科技</Company>
10
10
<Description>XFEConsole是一个可以运行用户进行远程输出的调试辅助工具,需要配合XFE工具箱来使用,当然也可以根据本DLL内的架构搭建一个调试工具</Description>
@@ -14,7 +14,7 @@
14
14
<PackageReadmeFile>README.md</PackageReadmeFile>
15
15
<RepositoryUrl>https://github.com/XFEstudio/XFEExtension.NetCore.XFEConsole.git</RepositoryUrl>
16
16
<PackageTags>XFE;Console;Test;Out;Output;Remote;</PackageTags>
17
<PackageReleaseNotes>First Release</PackageReleaseNotes>
17
<PackageReleaseNotes>适配新版本</PackageReleaseNotes>
18
18
<PackageLicenseFile>LICENSE</PackageLicenseFile>
19
19
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
20
20
<Title>XFEExtension.NetCore.XFEConsole</Title>
@@ -36,7 +36,7 @@
36
36
</ItemGroup>
37
37
38
38
<ItemGroup>
39
<PackageReference Include="XFEExtension.NetCore" Version="3.0.1" />
39
<PackageReference Include="XFEExtension.NetCore" Version="3.0.2" />
40
40
</ItemGroup>
41
41
42
42
</Project>