Interface IMenuHandler code
- 命名空间
- Another_Mirai_Native.Abstractions.Handlers
- 程序集
- Another-Mirai-Native.Abstractions.dll
为处理菜单事件的处理器。
public interface IMenuHandler
方法
OnMenu(MenuContext) code
当框架调用菜单事件时执行的操作。框架上层会在独立的 UI 线程中同步执行此方法,阻塞此方法不会导致框架卡死。
void OnMenu(MenuContext e)