using Volo.Abp.Collections; namespace Sanhe.Abp.Notifications; /// /// 通知选项 /// public class AbpNotificationsOptions { /// /// 自定义通知集合 /// public ITypeList DefinitionProviders { get; } /// /// 发布者集合 /// public ITypeList PublishProviders { get; } /// /// 可以自定义某个通知的格式 /// public NotificationDataMappingDictionary NotificationDataMappings { get; } public AbpNotificationsOptions() { PublishProviders = new TypeList(); DefinitionProviders = new TypeList(); NotificationDataMappings = new NotificationDataMappingDictionary(); } }