From 8b06adfc04cc2178a2321531dfc13e26f598f638 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sat, 16 Mar 2019 19:55:55 -0500 Subject: [PATCH] change Abstracts namespace --- .../BotSharp.Channel.FacebookMessenger.csproj | 2 + .../BotSharp.Channel.Weixin.csproj | 2 + .../Controllers/WeixinAsyncController.cs | 2 +- .../Models/CustomMessageHandler.cs | 2 +- BotSharp.Channel.Weixin/ModuleInjector.cs | 4 -- BotSharp.Core.UnitTest/Performance/Spotify.cs | 2 +- BotSharp.Core/Abstractions/IAgentImporter.cs | 2 +- BotSharp.Core/Abstractions/IAgentStorage.cs | 2 +- .../Abstractions/IAgentStorageFactory.cs | 5 +-- BotSharp.Core/Abstractions/IBotEngine.cs | 2 +- BotSharp.Core/Abstractions/IContextStorage.cs | 2 +- .../Abstractions/IContextStorageFactory.cs | 6 +-- .../Abstractions/IPlatformBuilder.cs | 2 +- .../Abstractions/IPlatformSettings.cs | 2 +- .../AgentStorage/AgentStorageFactory.cs | 3 +- .../AgentStorage/AgentStorageInFile.cs | 2 +- .../AgentStorage/AgentStorageInMemory.cs | 2 +- .../AgentStorage/AgentStorageInRedis.cs | 2 +- .../AgentStorageServiceRegister.cs | 2 +- BotSharp.Core/BotSharp.Core.csproj | 39 ++++++------------- .../ContextStorage/ContextStorageFactory.cs | 2 +- .../ContextStorage/ContextStorageInFile.cs | 2 +- .../ContextStorageServiceRegister.cs | 2 +- BotSharp.Core/Engines/BotSharp/BotSharpNLU.cs | 2 +- BotSharp.Core/Engines/BotTrainer.cs | 2 +- BotSharp.Core/PlatformBuilderBase.cs | 2 +- .../PlatformConfigServiceRegister.cs | 2 +- BotSharp.Core/PlatformSettingsBase.cs | 2 +- BotSharp.Platform.Articulate/ArticulateAi.cs | 2 +- .../Controllers/AgentController.cs | 6 +-- .../Models/EntityModel.cs | 3 +- .../ModuleInjector.cs | 1 - .../AgentImporterInDialogflow.cs | 2 +- .../Controllers/TrainController.cs | 9 +---- BotSharp.Platform.Dialogflow/DialogflowAi.cs | 4 +- .../Models/EntityModel.cs | 3 +- .../ModuleInjector.cs | 2 +- BotSharp.Platform.OwnThink/ModuleInjector.cs | 2 +- BotSharp.Platform.OwnThink/OwnThinkAi.cs | 2 +- BotSharp.Platform.Rasa/AgentImporterInRasa.cs | 2 +- .../Controllers/TrainController.cs | 2 +- BotSharp.Platform.Rasa/RasaAi.cs | 2 +- BotSharp.WebHost/BotSharp.WebHost.csproj | 4 -- 43 files changed, 55 insertions(+), 94 deletions(-) diff --git a/BotSharp.Channel.FacebookMessenger/BotSharp.Channel.FacebookMessenger.csproj b/BotSharp.Channel.FacebookMessenger/BotSharp.Channel.FacebookMessenger.csproj index 0d628ef2..f67b33ee 100644 --- a/BotSharp.Channel.FacebookMessenger/BotSharp.Channel.FacebookMessenger.csproj +++ b/BotSharp.Channel.FacebookMessenger/BotSharp.Channel.FacebookMessenger.csproj @@ -13,7 +13,9 @@ + + diff --git a/BotSharp.Channel.Weixin/BotSharp.Channel.Weixin.csproj b/BotSharp.Channel.Weixin/BotSharp.Channel.Weixin.csproj index ea59fc9a..e74df3f9 100644 --- a/BotSharp.Channel.Weixin/BotSharp.Channel.Weixin.csproj +++ b/BotSharp.Channel.Weixin/BotSharp.Channel.Weixin.csproj @@ -24,7 +24,9 @@ + + diff --git a/BotSharp.Channel.Weixin/Controllers/WeixinAsyncController.cs b/BotSharp.Channel.Weixin/Controllers/WeixinAsyncController.cs index c099255c..65e8a44b 100644 --- a/BotSharp.Channel.Weixin/Controllers/WeixinAsyncController.cs +++ b/BotSharp.Channel.Weixin/Controllers/WeixinAsyncController.cs @@ -1,5 +1,5 @@ using BotSharp.Channel.Weixin.Models; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Dialogflow.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; diff --git a/BotSharp.Channel.Weixin/Models/CustomMessageHandler.cs b/BotSharp.Channel.Weixin/Models/CustomMessageHandler.cs index 285ce0f2..e67f7dd1 100644 --- a/BotSharp.Channel.Weixin/Models/CustomMessageHandler.cs +++ b/BotSharp.Channel.Weixin/Models/CustomMessageHandler.cs @@ -30,7 +30,7 @@ using Senparc.NeuChar.Entities; using Senparc.Weixin; using Senparc.Weixin.MP; using BotSharp.Platform.Models.AiRequest; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Dialogflow.Models; using Microsoft.Extensions.Configuration; diff --git a/BotSharp.Channel.Weixin/ModuleInjector.cs b/BotSharp.Channel.Weixin/ModuleInjector.cs index e987a784..28ddb27a 100644 --- a/BotSharp.Channel.Weixin/ModuleInjector.cs +++ b/BotSharp.Channel.Weixin/ModuleInjector.cs @@ -1,14 +1,10 @@ using BotSharp.Core.Modules; -using BotSharp.Platform.Abstraction; -using BotSharp.Platform.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -using Senparc.CO2NET; using Senparc.CO2NET.RegisterServices; using Senparc.Weixin.RegisterServices; -using System; namespace BotSharp.Channel.Weixin { diff --git a/BotSharp.Core.UnitTest/Performance/Spotify.cs b/BotSharp.Core.UnitTest/Performance/Spotify.cs index 7e86bbb8..60142971 100644 --- a/BotSharp.Core.UnitTest/Performance/Spotify.cs +++ b/BotSharp.Core.UnitTest/Performance/Spotify.cs @@ -1,5 +1,5 @@ using BotSharp.Core.Engines; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; diff --git a/BotSharp.Core/Abstractions/IAgentImporter.cs b/BotSharp.Core/Abstractions/IAgentImporter.cs index b7e6ddb1..906fa760 100644 --- a/BotSharp.Core/Abstractions/IAgentImporter.cs +++ b/BotSharp.Core/Abstractions/IAgentImporter.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Text; using System.Threading.Tasks; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { public interface IAgentImporter { diff --git a/BotSharp.Core/Abstractions/IAgentStorage.cs b/BotSharp.Core/Abstractions/IAgentStorage.cs index 94b0e769..3b9cacb8 100644 --- a/BotSharp.Core/Abstractions/IAgentStorage.cs +++ b/BotSharp.Core/Abstractions/IAgentStorage.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Text; using System.Threading.Tasks; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { /// /// Agent could be persisted in any kind of storage. diff --git a/BotSharp.Core/Abstractions/IAgentStorageFactory.cs b/BotSharp.Core/Abstractions/IAgentStorageFactory.cs index d8995a58..d4f176eb 100644 --- a/BotSharp.Core/Abstractions/IAgentStorageFactory.cs +++ b/BotSharp.Core/Abstractions/IAgentStorageFactory.cs @@ -1,8 +1,7 @@ -using BotSharp.Platform.Abstraction; -using BotSharp.Platform.Models; +using BotSharp.Platform.Models; using System.Threading.Tasks; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { public interface IAgentStorageFactory where TAgent : AgentBase { diff --git a/BotSharp.Core/Abstractions/IBotEngine.cs b/BotSharp.Core/Abstractions/IBotEngine.cs index f3a56022..a99b4ac4 100644 --- a/BotSharp.Core/Abstractions/IBotEngine.cs +++ b/BotSharp.Core/Abstractions/IBotEngine.cs @@ -3,7 +3,7 @@ using BotSharp.Platform.Models.AiRequest; using BotSharp.Platform.Models.AiResponse; using System.Threading.Tasks; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { /// /// BotEngine is the NLU of bot platform diff --git a/BotSharp.Core/Abstractions/IContextStorage.cs b/BotSharp.Core/Abstractions/IContextStorage.cs index aaeada1d..50d9fa14 100644 --- a/BotSharp.Core/Abstractions/IContextStorage.cs +++ b/BotSharp.Core/Abstractions/IContextStorage.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using System.Threading.Tasks; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { public interface IContextStorage { diff --git a/BotSharp.Core/Abstractions/IContextStorageFactory.cs b/BotSharp.Core/Abstractions/IContextStorageFactory.cs index 00b12f12..1cf10cc4 100644 --- a/BotSharp.Core/Abstractions/IContextStorageFactory.cs +++ b/BotSharp.Core/Abstractions/IContextStorageFactory.cs @@ -1,8 +1,6 @@ -using BotSharp.Platform.Abstraction; -using BotSharp.Platform.Models; -using System.Threading.Tasks; +using System.Threading.Tasks; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { public interface IContextStorageFactory { diff --git a/BotSharp.Core/Abstractions/IPlatformBuilder.cs b/BotSharp.Core/Abstractions/IPlatformBuilder.cs index 9d59cba3..991fc239 100644 --- a/BotSharp.Core/Abstractions/IPlatformBuilder.cs +++ b/BotSharp.Core/Abstractions/IPlatformBuilder.cs @@ -4,7 +4,7 @@ using BotSharp.Platform.Models.AiResponse; using BotSharp.Platform.Models.MachineLearning; using System.Threading.Tasks; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { /// /// Platform abstraction diff --git a/BotSharp.Core/Abstractions/IPlatformSettings.cs b/BotSharp.Core/Abstractions/IPlatformSettings.cs index bf476835..71059dc5 100644 --- a/BotSharp.Core/Abstractions/IPlatformSettings.cs +++ b/BotSharp.Core/Abstractions/IPlatformSettings.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Text; -namespace BotSharp.Platform.Abstraction +namespace BotSharp.Platform.Abstractions { public interface IPlatformSettings { diff --git a/BotSharp.Core/AgentStorage/AgentStorageFactory.cs b/BotSharp.Core/AgentStorage/AgentStorageFactory.cs index 47abaa59..dea8f598 100644 --- a/BotSharp.Core/AgentStorage/AgentStorageFactory.cs +++ b/BotSharp.Core/AgentStorage/AgentStorageFactory.cs @@ -1,5 +1,4 @@ -using BotSharp.Core; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using System; using System.Collections.Generic; diff --git a/BotSharp.Core/AgentStorage/AgentStorageInFile.cs b/BotSharp.Core/AgentStorage/AgentStorageInFile.cs index 90ba5b41..cf6f1e00 100644 --- a/BotSharp.Core/AgentStorage/AgentStorageInFile.cs +++ b/BotSharp.Core/AgentStorage/AgentStorageInFile.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using CSRedis; using Microsoft.Extensions.Configuration; diff --git a/BotSharp.Core/AgentStorage/AgentStorageInMemory.cs b/BotSharp.Core/AgentStorage/AgentStorageInMemory.cs index 068032e5..0ead92e0 100644 --- a/BotSharp.Core/AgentStorage/AgentStorageInMemory.cs +++ b/BotSharp.Core/AgentStorage/AgentStorageInMemory.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using System; using System.Collections.Generic; diff --git a/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs b/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs index 911a763a..8bc5a73e 100644 --- a/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs +++ b/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using CSRedis; using Microsoft.Extensions.Configuration; diff --git a/BotSharp.Core/AgentStorage/AgentStorageServiceRegister.cs b/BotSharp.Core/AgentStorage/AgentStorageServiceRegister.cs index 3c8f30c7..f366d1af 100644 --- a/BotSharp.Core/AgentStorage/AgentStorageServiceRegister.cs +++ b/BotSharp.Core/AgentStorage/AgentStorageServiceRegister.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; diff --git a/BotSharp.Core/BotSharp.Core.csproj b/BotSharp.Core/BotSharp.Core.csproj index a250ecdd..46016a8a 100644 --- a/BotSharp.Core/BotSharp.Core.csproj +++ b/BotSharp.Core/BotSharp.Core.csproj @@ -6,7 +6,7 @@ SAK SAK AnyCPU;x64 - Debug;Release;DIALOGFLOW;RASA;ARTICULATE + Debug;Release; @@ -34,60 +34,43 @@ If you feel that this project is helpful to you, please Star on the project, we TRACE;DEBUG - - TRACE;DEBUG;RASA - bin\RASA - - TRACE; - - DEBUG;TRACE;DIALOGFLOW;NETSTANDARD;NETSTANDARD2_0 - false - - - - DEBUG;TRACE;ARTICULATE - false - - + - + - + - + + + + - + - - - + - + - - - - diff --git a/BotSharp.Core/ContextStorage/ContextStorageFactory.cs b/BotSharp.Core/ContextStorage/ContextStorageFactory.cs index 2bc8bc3d..fa56b4f3 100644 --- a/BotSharp.Core/ContextStorage/ContextStorageFactory.cs +++ b/BotSharp.Core/ContextStorage/ContextStorageFactory.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using System; using System.Collections.Generic; using System.Text; diff --git a/BotSharp.Core/ContextStorage/ContextStorageInFile.cs b/BotSharp.Core/ContextStorage/ContextStorageInFile.cs index 313415c3..b57a427d 100644 --- a/BotSharp.Core/ContextStorage/ContextStorageInFile.cs +++ b/BotSharp.Core/ContextStorage/ContextStorageInFile.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; diff --git a/BotSharp.Core/ContextStorage/ContextStorageServiceRegister.cs b/BotSharp.Core/ContextStorage/ContextStorageServiceRegister.cs index 61ea90ce..6b6350e6 100644 --- a/BotSharp.Core/ContextStorage/ContextStorageServiceRegister.cs +++ b/BotSharp.Core/ContextStorage/ContextStorageServiceRegister.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; diff --git a/BotSharp.Core/Engines/BotSharp/BotSharpNLU.cs b/BotSharp.Core/Engines/BotSharp/BotSharpNLU.cs index 114d0b02..e7e7f04b 100644 --- a/BotSharp.Core/Engines/BotSharp/BotSharpNLU.cs +++ b/BotSharp.Core/Engines/BotSharp/BotSharpNLU.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Text; using System.Threading.Tasks; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; namespace BotSharp.Core.Engines.BotSharp diff --git a/BotSharp.Core/Engines/BotTrainer.cs b/BotSharp.Core/Engines/BotTrainer.cs index 9124c1f2..8b7690df 100644 --- a/BotSharp.Core/Engines/BotTrainer.cs +++ b/BotSharp.Core/Engines/BotTrainer.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using BotSharp.Core.Abstractions; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using BotSharp.Platform.Models.MachineLearning; using DotNetToolkit; diff --git a/BotSharp.Core/PlatformBuilderBase.cs b/BotSharp.Core/PlatformBuilderBase.cs index c59c4a61..a1a8ab29 100644 --- a/BotSharp.Core/PlatformBuilderBase.cs +++ b/BotSharp.Core/PlatformBuilderBase.cs @@ -1,5 +1,5 @@ using BotSharp.Core.Engines; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using BotSharp.Platform.Models.AiRequest; using BotSharp.Platform.Models.AiResponse; diff --git a/BotSharp.Core/PlatformConfigServiceRegister.cs b/BotSharp.Core/PlatformConfigServiceRegister.cs index 6535eb11..fed71fc2 100644 --- a/BotSharp.Core/PlatformConfigServiceRegister.cs +++ b/BotSharp.Core/PlatformConfigServiceRegister.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using Colorful; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; diff --git a/BotSharp.Core/PlatformSettingsBase.cs b/BotSharp.Core/PlatformSettingsBase.cs index 2d7ceb32..7560afa8 100644 --- a/BotSharp.Core/PlatformSettingsBase.cs +++ b/BotSharp.Core/PlatformSettingsBase.cs @@ -1,4 +1,4 @@ -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; using System; diff --git a/BotSharp.Platform.Articulate/ArticulateAi.cs b/BotSharp.Platform.Articulate/ArticulateAi.cs index 1dac33f8..65e765ca 100644 --- a/BotSharp.Platform.Articulate/ArticulateAi.cs +++ b/BotSharp.Platform.Articulate/ArticulateAi.cs @@ -1,6 +1,6 @@ using BotSharp.Core; using BotSharp.Core.Engines; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Articulate.Models; using BotSharp.Platform.Models; using BotSharp.Platform.Models.AiRequest; diff --git a/BotSharp.Platform.Articulate/Controllers/AgentController.cs b/BotSharp.Platform.Articulate/Controllers/AgentController.cs index d6bc5f5a..0e81b40a 100644 --- a/BotSharp.Platform.Articulate/Controllers/AgentController.cs +++ b/BotSharp.Platform.Articulate/Controllers/AgentController.cs @@ -1,9 +1,5 @@ -using BotSharp.Core; -using BotSharp.Core.Engines; -using BotSharp.Platform.Abstraction; -using BotSharp.Platform.Articulate.Models; +using BotSharp.Platform.Articulate.Models; using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using System; using System.Collections.Generic; diff --git a/BotSharp.Platform.Articulate/Models/EntityModel.cs b/BotSharp.Platform.Articulate/Models/EntityModel.cs index 417ae540..531508a7 100644 --- a/BotSharp.Platform.Articulate/Models/EntityModel.cs +++ b/BotSharp.Platform.Articulate/Models/EntityModel.cs @@ -1,5 +1,4 @@ -using BotSharp.Platform.Abstraction; -using BotSharp.Platform.Models; +using BotSharp.Platform.Models; using System; using System.Collections.Generic; using System.Text; diff --git a/BotSharp.Platform.Articulate/ModuleInjector.cs b/BotSharp.Platform.Articulate/ModuleInjector.cs index fe149927..61f78737 100644 --- a/BotSharp.Platform.Articulate/ModuleInjector.cs +++ b/BotSharp.Platform.Articulate/ModuleInjector.cs @@ -1,7 +1,6 @@ using BotSharp.Core; using BotSharp.Core.AgentStorage; using BotSharp.Core.Modules; -using BotSharp.Platform.Abstraction; using BotSharp.Platform.Articulate.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; diff --git a/BotSharp.Platform.Dialogflow/AgentImporterInDialogflow.cs b/BotSharp.Platform.Dialogflow/AgentImporterInDialogflow.cs index 972a0f4f..faf69703 100644 --- a/BotSharp.Platform.Dialogflow/AgentImporterInDialogflow.cs +++ b/BotSharp.Platform.Dialogflow/AgentImporterInDialogflow.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; -using BotSharp.Platform.Abstraction; using BotSharp.Platform.Models; using BotSharp.Platform.Models.AiResponse; using BotSharp.Platform.Models.Intents; @@ -13,6 +12,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using BotSharp.Platform.Dialogflow.Models; using System.Threading.Tasks; +using BotSharp.Platform.Abstractions; namespace BotSharp.Platform.Dialogflow { diff --git a/BotSharp.Platform.Dialogflow/Controllers/TrainController.cs b/BotSharp.Platform.Dialogflow/Controllers/TrainController.cs index b6cbe5f3..347aacb4 100644 --- a/BotSharp.Platform.Dialogflow/Controllers/TrainController.cs +++ b/BotSharp.Platform.Dialogflow/Controllers/TrainController.cs @@ -1,20 +1,13 @@ -using BotSharp.Core.Engines; -using BotSharp.Platform.Models; +using BotSharp.Platform.Models; using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Configuration; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Newtonsoft.Json.Serialization; using BotSharp.Platform.Dialogflow.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; -using System.Text.RegularExpressions; using System.Threading.Tasks; using BotSharp.Platform.Models.MachineLearning; -using BotSharp.Platform.Abstraction; namespace BotSharp.Platform.Dialogflow.Controllers { diff --git a/BotSharp.Platform.Dialogflow/DialogflowAi.cs b/BotSharp.Platform.Dialogflow/DialogflowAi.cs index 63339f5d..5659e708 100644 --- a/BotSharp.Platform.Dialogflow/DialogflowAi.cs +++ b/BotSharp.Platform.Dialogflow/DialogflowAi.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using BotSharp.Core; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using DotNetToolkit; using BotSharp.Platform.Dialogflow.Models; @@ -27,7 +27,7 @@ namespace BotSharp.Platform.Dialogflow IConfiguration config; public DialogflowAi(IAgentStorageFactory agentStorageFactory, IContextStorageFactory contextStorageFactory, IPlatformSettings settings, IConfiguration config) - :base(agentStorageFactory, contextStorageFactory, settings) + : base(agentStorageFactory, contextStorageFactory, settings) { this.config = config; } diff --git a/BotSharp.Platform.Dialogflow/Models/EntityModel.cs b/BotSharp.Platform.Dialogflow/Models/EntityModel.cs index 56840daa..dea870ad 100644 --- a/BotSharp.Platform.Dialogflow/Models/EntityModel.cs +++ b/BotSharp.Platform.Dialogflow/Models/EntityModel.cs @@ -1,5 +1,4 @@ -using BotSharp.Platform.Abstraction; -using BotSharp.Platform.Models; +using BotSharp.Platform.Models; using System; using System.Collections.Generic; using System.Text; diff --git a/BotSharp.Platform.Dialogflow/ModuleInjector.cs b/BotSharp.Platform.Dialogflow/ModuleInjector.cs index 87e53e78..cfa36689 100644 --- a/BotSharp.Platform.Dialogflow/ModuleInjector.cs +++ b/BotSharp.Platform.Dialogflow/ModuleInjector.cs @@ -2,7 +2,7 @@ using BotSharp.Core.AgentStorage; using BotSharp.Core.ContextStorage; using BotSharp.Core.Modules; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Dialogflow.Models; using BotSharp.Platform.Models; using BotSharp.Platform.Models.Contexts; diff --git a/BotSharp.Platform.OwnThink/ModuleInjector.cs b/BotSharp.Platform.OwnThink/ModuleInjector.cs index c4071abc..c67daa34 100644 --- a/BotSharp.Platform.OwnThink/ModuleInjector.cs +++ b/BotSharp.Platform.OwnThink/ModuleInjector.cs @@ -2,7 +2,7 @@ using BotSharp.Core.AgentStorage; using BotSharp.Core.ContextStorage; using BotSharp.Core.Modules; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.OwnThink.Models; using BotSharp.Platform.Models; using BotSharp.Platform.Models.Contexts; diff --git a/BotSharp.Platform.OwnThink/OwnThinkAi.cs b/BotSharp.Platform.OwnThink/OwnThinkAi.cs index 0ecaf42d..ff660e27 100644 --- a/BotSharp.Platform.OwnThink/OwnThinkAi.cs +++ b/BotSharp.Platform.OwnThink/OwnThinkAi.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using BotSharp.Core; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using DotNetToolkit; using BotSharp.Platform.OwnThink.Models; diff --git a/BotSharp.Platform.Rasa/AgentImporterInRasa.cs b/BotSharp.Platform.Rasa/AgentImporterInRasa.cs index 13c1739c..b0f805bd 100644 --- a/BotSharp.Platform.Rasa/AgentImporterInRasa.cs +++ b/BotSharp.Platform.Rasa/AgentImporterInRasa.cs @@ -4,7 +4,7 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using BotSharp.Platform.Models.Intents; using BotSharp.Platform.Rasa.Models; diff --git a/BotSharp.Platform.Rasa/Controllers/TrainController.cs b/BotSharp.Platform.Rasa/Controllers/TrainController.cs index 7e49b8d4..66671609 100644 --- a/BotSharp.Platform.Rasa/Controllers/TrainController.cs +++ b/BotSharp.Platform.Rasa/Controllers/TrainController.cs @@ -1,5 +1,5 @@ using BotSharp.Core.Engines; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using BotSharp.Platform.Models.MachineLearning; using BotSharp.Platform.Rasa.Models; diff --git a/BotSharp.Platform.Rasa/RasaAi.cs b/BotSharp.Platform.Rasa/RasaAi.cs index 4210d6f5..2bcbb4ad 100644 --- a/BotSharp.Platform.Rasa/RasaAi.cs +++ b/BotSharp.Platform.Rasa/RasaAi.cs @@ -1,6 +1,6 @@ using BotSharp.Core; using BotSharp.Core.Engines; -using BotSharp.Platform.Abstraction; +using BotSharp.Platform.Abstractions; using BotSharp.Platform.Models; using BotSharp.Platform.Models.AiRequest; using BotSharp.Platform.Models.AiResponse; diff --git a/BotSharp.WebHost/BotSharp.WebHost.csproj b/BotSharp.WebHost/BotSharp.WebHost.csproj index a8555d62..13a34676 100644 --- a/BotSharp.WebHost/BotSharp.WebHost.csproj +++ b/BotSharp.WebHost/BotSharp.WebHost.csproj @@ -90,10 +90,6 @@ - - - -