From 24f9f30a53ef9b970fff04e6935e972a75f31298 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 26 Nov 2024 11:15:26 -0600 Subject: [PATCH] fix typo --- src/Infrastructure/BotSharp.Abstraction/Agents/AgentHookBase.cs | 2 +- src/Infrastructure/BotSharp.Abstraction/Agents/IAgentHook.cs | 2 +- .../BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Agents/AgentHookBase.cs b/src/Infrastructure/BotSharp.Abstraction/Agents/AgentHookBase.cs index f195591a..496466e2 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Agents/AgentHookBase.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Agents/AgentHookBase.cs @@ -58,7 +58,7 @@ public abstract class AgentHookBase : IAgentHook { } - public virtual void OnAgentUtilityloaded(Agent agent) + public virtual void OnAgentUtilityLoaded(Agent agent) { if (agent.Type == AgentType.Routing) return; diff --git a/src/Infrastructure/BotSharp.Abstraction/Agents/IAgentHook.cs b/src/Infrastructure/BotSharp.Abstraction/Agents/IAgentHook.cs index ceb212bf..a3f53fb6 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Agents/IAgentHook.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Agents/IAgentHook.cs @@ -25,7 +25,7 @@ public interface IAgentHook bool OnSamplesLoaded(List samples); - void OnAgentUtilityloaded(Agent agent); + void OnAgentUtilityLoaded(Agent agent); /// /// Triggered when agent is loaded completely. diff --git a/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs b/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs index 45121830..396a7d15 100644 --- a/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs +++ b/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs @@ -67,7 +67,7 @@ public partial class AgentService hook.OnSamplesLoaded(agent.Samples); } - hook.OnAgentUtilityloaded(agent); + hook.OnAgentUtilityLoaded(agent); hook.OnAgentLoaded(agent); }