INotificationConfiguration 不包含 'Notifiers' 的定义

INotificationConfiguration does not contain a definition for 'Notifiers'

我正在按照 aspboilerplate 文档添加自定义电子邮件,按照本页上的示例进行通知:

https://aspnetboilerplate.com/Pages/Documents/Notification-System#multiple-notifiers

该文档声明如下:

Add it in the PreInitialize method of your module:

Configuration.Notifications.Notifiers.Add<EmailRealTimeNotifier>();

但是我收到以下错误:

INotificationConfiguration does not contain a definition for 'Notifiers'

我试过添加我认为是显而易见的 using 语句,但效果很好

我能看到的唯一扩展方法是针对提供者和分发者的,如果我尝试注入我创建的 EmailRealTimeNotifier,则会出错。

请有人帮忙解释或解决方法。

提前致谢

更新到 ABP v4.4+ 以使用多个通知程序。

  • v4.4 已于 3 月发布。
  • 5月发布v4.6(最新版)[​​=15=]