From 5081ddb227333bd378970ce4037755b0c9f78b0c Mon Sep 17 00:00:00 2001 From: Falcon <12919280+falconfly@user.noreply.gitee.com> Date: Tue, 4 Mar 2025 13:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8D=E5=AD=97=E7=A9=BA?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CronAdjustNullException.cs | 2 +- .../{TimedBackgroundTask => TimedTask}/CronException.cs | 2 +- .../{TimedBackgroundTask => TimedTask}/CronExpression.cs | 2 +- .../{TimedBackgroundTask => TimedTask}/CronOptions.cs | 2 +- .../{TimedBackgroundTask => TimedTask}/CronResult.cs | 2 +- .../IServiceCollectionExtend.cs | 2 +- Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/Readme.md | 0 .../{TimedBackgroundTask => TimedTask}/TimePartEnum.cs | 2 +- Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/TimedTask.cs | 2 +- 9 files changed, 8 insertions(+), 8 deletions(-) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/CronAdjustNullException.cs (91%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/CronException.cs (89%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/CronExpression.cs (99%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/CronOptions.cs (83%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/CronResult.cs (98%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/IServiceCollectionExtend.cs (93%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/Readme.md (100%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/TimePartEnum.cs (96%) rename Falcon.SugarApi/{TimedBackgroundTask => TimedTask}/TimedTask.cs (99%) diff --git a/Falcon.SugarApi/TimedBackgroundTask/CronAdjustNullException.cs b/Falcon.SugarApi/TimedTask/CronAdjustNullException.cs similarity index 91% rename from Falcon.SugarApi/TimedBackgroundTask/CronAdjustNullException.cs rename to Falcon.SugarApi/TimedTask/CronAdjustNullException.cs index cf1a7d7..22cb8f9 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/CronAdjustNullException.cs +++ b/Falcon.SugarApi/TimedTask/CronAdjustNullException.cs @@ -1,6 +1,6 @@ using System; -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { /// /// Cron表达式无法匹配到任何值 diff --git a/Falcon.SugarApi/TimedBackgroundTask/CronException.cs b/Falcon.SugarApi/TimedTask/CronException.cs similarity index 89% rename from Falcon.SugarApi/TimedBackgroundTask/CronException.cs rename to Falcon.SugarApi/TimedTask/CronException.cs index a4c7033..31084fe 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/CronException.cs +++ b/Falcon.SugarApi/TimedTask/CronException.cs @@ -1,6 +1,6 @@ using System; -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { /// /// Cron表达式错误 diff --git a/Falcon.SugarApi/TimedBackgroundTask/CronExpression.cs b/Falcon.SugarApi/TimedTask/CronExpression.cs similarity index 99% rename from Falcon.SugarApi/TimedBackgroundTask/CronExpression.cs rename to Falcon.SugarApi/TimedTask/CronExpression.cs index 66f9c8f..d2eacf5 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/CronExpression.cs +++ b/Falcon.SugarApi/TimedTask/CronExpression.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Linq; -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { /// diff --git a/Falcon.SugarApi/TimedBackgroundTask/CronOptions.cs b/Falcon.SugarApi/TimedTask/CronOptions.cs similarity index 83% rename from Falcon.SugarApi/TimedBackgroundTask/CronOptions.cs rename to Falcon.SugarApi/TimedTask/CronOptions.cs index 0eb45a4..9f539dd 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/CronOptions.cs +++ b/Falcon.SugarApi/TimedTask/CronOptions.cs @@ -1,4 +1,4 @@ -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { /// /// Cron表达式解析选项 diff --git a/Falcon.SugarApi/TimedBackgroundTask/CronResult.cs b/Falcon.SugarApi/TimedTask/CronResult.cs similarity index 98% rename from Falcon.SugarApi/TimedBackgroundTask/CronResult.cs rename to Falcon.SugarApi/TimedTask/CronResult.cs index d389ba8..e167aaa 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/CronResult.cs +++ b/Falcon.SugarApi/TimedTask/CronResult.cs @@ -1,6 +1,6 @@ using System; -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { public class CronResult { diff --git a/Falcon.SugarApi/TimedBackgroundTask/IServiceCollectionExtend.cs b/Falcon.SugarApi/TimedTask/IServiceCollectionExtend.cs similarity index 93% rename from Falcon.SugarApi/TimedBackgroundTask/IServiceCollectionExtend.cs rename to Falcon.SugarApi/TimedTask/IServiceCollectionExtend.cs index a286362..ec8880b 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/IServiceCollectionExtend.cs +++ b/Falcon.SugarApi/TimedTask/IServiceCollectionExtend.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.DependencyInjection; -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { /// /// 服务集合扩展方法 diff --git a/Falcon.SugarApi/TimedBackgroundTask/Readme.md b/Falcon.SugarApi/TimedTask/Readme.md similarity index 100% rename from Falcon.SugarApi/TimedBackgroundTask/Readme.md rename to Falcon.SugarApi/TimedTask/Readme.md diff --git a/Falcon.SugarApi/TimedBackgroundTask/TimePartEnum.cs b/Falcon.SugarApi/TimedTask/TimePartEnum.cs similarity index 96% rename from Falcon.SugarApi/TimedBackgroundTask/TimePartEnum.cs rename to Falcon.SugarApi/TimedTask/TimePartEnum.cs index 0f2602d..fa7ddcf 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/TimePartEnum.cs +++ b/Falcon.SugarApi/TimedTask/TimePartEnum.cs @@ -1,6 +1,6 @@ using System; -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { /// /// 时间结构枚举 diff --git a/Falcon.SugarApi/TimedBackgroundTask/TimedTask.cs b/Falcon.SugarApi/TimedTask/TimedTask.cs similarity index 99% rename from Falcon.SugarApi/TimedBackgroundTask/TimedTask.cs rename to Falcon.SugarApi/TimedTask/TimedTask.cs index 285aaaf..f4109f7 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/TimedTask.cs +++ b/Falcon.SugarApi/TimedTask/TimedTask.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace Falcon.SugarApi.TimedBackgroundTask +namespace Falcon.SugarApi.TimedTask { /// /// 由定时器驱动的后台任务