From a0d8abeede67cdcff5876e03a6c1963c32169a1c Mon Sep 17 00:00:00 2001 From: SeplzZZ Date: Fri, 10 Nov 2023 21:50:11 -0600 Subject: [PATCH] relocate the service --- src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj | 1 - .../BackgroundServices}/ConversationTimeoutService.cs | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/Infrastructure/{BotSharp.Core/Infrastructures => BotSharp.OpenAPI/BackgroundServices}/ConversationTimeoutService.cs (95%) diff --git a/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj b/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj index 34233399..8099a315 100644 --- a/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj +++ b/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj @@ -56,7 +56,6 @@ - diff --git a/src/Infrastructure/BotSharp.Core/Infrastructures/ConversationTimeoutService.cs b/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs similarity index 95% rename from src/Infrastructure/BotSharp.Core/Infrastructures/ConversationTimeoutService.cs rename to src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs index 48b71bdd..d624846e 100644 --- a/src/Infrastructure/BotSharp.Core/Infrastructures/ConversationTimeoutService.cs +++ b/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs @@ -1,7 +1,8 @@ +using BotSharp.Abstraction.Agents.Enums; +using BotSharp.Abstraction.Conversations.Models; using Microsoft.Extensions.Hosting; -using System.Threading; -namespace BotSharp.Core.Infrastructures +namespace BotSharp.OpenAPI.BackgroundServices { public class ConversationTimeoutService : BackgroundService {