From 17e4c7e3e7b3ef60d9da6de3b2a39a14a53c38a0 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期三, 12 三月 2025 14:11:33 +0800 Subject: [PATCH] 1 --- WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs index 5d53caa..e6d530c 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs @@ -34,6 +34,11 @@ set => _isRun = IsBuild = value; } + /// <summary> + /// 鏈夋晥鏈� + /// </summary> + public static DateTime? ExpDateTime = null; + /// <summary>搴旂敤鏈夋晥绋嬪簭闆�</summary> public static readonly IEnumerable<Assembly> Assemblies = RuntimeExtension.GetAllAssemblies(); @@ -119,7 +124,7 @@ /// <param name="serviceProvider"></param> /// <param name="mustBuild"></param> /// <returns></returns> - public static object GetService(Type type, IServiceProvider? serviceProvider = null, bool mustBuild = true) + public static object? GetService(Type type, IServiceProvider? serviceProvider = null, bool mustBuild = true) { object? obj = (serviceProvider ?? GetServiceProvider(type, mustBuild, false))?.GetService(type); return obj; -- Gitblit v1.9.3