Closed jojinshallar closed 1 year ago
(1)因为AddEventBus()扩展方法是在Masa.Contrib.Dispatcher.Events/Extensions/ServiceCollectionExtensions.cs中定义的,所以应该引用【Masa.Contrib.Dispatcher.Events】。 (2)下文使用了MinimalApi中的ServiceBase,应该添加引用【Masa.Contrib.Service.MinimalAPIs】。
已修复
Description
(1)因为AddEventBus()扩展方法是在Masa.Contrib.Dispatcher.Events/Extensions/ServiceCollectionExtensions.cs中定义的,所以应该引用【Masa.Contrib.Dispatcher.Events】。 (2)下文使用了MinimalApi中的ServiceBase,应该添加引用【Masa.Contrib.Service.MinimalAPIs】。
Expect