We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6777746 commit afd9cf9Copy full SHA for afd9cf9
NapPlana.Net.Core/Event/Handler/BotEventHandler.cs
@@ -20,7 +20,7 @@ public static class BotEventHandler
20
/// 设置事件处理器实例 (供DI使用)
21
/// </summary>
22
/// <param name="instance">事件处理器实例</param>
23
- internal static void SetInstance(IEventHandler instance)
+ public static void SetInstance(IEventHandler instance)
24
{
25
_instance = instance ?? throw new ArgumentNullException(nameof(instance));
26
}
0 commit comments