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

XFEExtension.NetCore.ServerInteractive

[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig

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

XFEstudio/XFEExtension.NetCore.ServerInteractive

增强异常处理并升级版本号至3.0.8

在 XFEClientRequester.cs 中,未找到指定请求名称的请求处理服务时,现会抛出带详细信息的 InvalidOperationException,提升了异常处理的明确性。同步将项目版本号由 3.0.7 升级至 3.0.8。

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

代码差异

2 个文件 +10 -4
Modified XFEExtension.NetCore.ServerInteractive/Utilities/Requester/XFEClientRequester.cs +4 -0
@@ -151,6 +151,10 @@ public abstract class XFEClientRequester : IRequesterBase
151 151 result.Message = response;
152 152 }
153 153 }
154 else
155 {
156 throw new InvalidOperationException($"未找到包含指定请求名称:{serviceName} 对应的请求处理服务");
157 }
154 158 return result;
155 159 }
156 160 catch (Exception ex)
Modified XFEExtension.NetCore.ServerInteractive/XFEExtension.NetCore.ServerInteractive.csproj +6 -4
@@ -5,7 +5,7 @@
5 5 <ImplicitUsings>enable</ImplicitUsings>
6 6 <Nullable>enable</Nullable>
7 7 <GenerateDocumentationFile>True</GenerateDocumentationFile>
8 <Version>3.0.7</Version>
8 <Version>3.0.8</Version>
9 9 <Title>XFEExtension.NetCore.ServerInteractive</Title>
10 10 <RepositoryUrl>https://github.com/XFEstudio/XFEExtension.NetCore.ServerInteractive</RepositoryUrl>
11 11 <AnalysisLevel>latest</AnalysisLevel>
@@ -21,9 +21,11 @@
21 21 <PackageReleaseNotes>
22 22 ## 调整
23 23
24 现在Requester的Result结果为可为null值
25 更新版本至3.0.7
26
24 增强异常处理并升级版本号至3.0.8
25
26 在 XFEClientRequester.cs 中,未找到指定请求名称的请求处理服务时,现会抛出带详细信息的 InvalidOperationException,提升了异常处理的明确性。
27 同步将项目版本号由 3.0.7 升级至 3.0.8。
28
27 29 ## 新增
28 30
29 31