这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
879 B

using LINGYUN.Abp.MessageService.Localization;
using LINGYUN.Abp.Notifications;
using Volo.Abp.Localization;
namespace LINGYUN.Abp.MessageService.Notifications
{
public class MessageServiceDefinitionProvider : NotificationDefinitionProvider
{
public override void Define(INotificationDefinitionContext context)
{
context.Add(new NotificationDefinition(
"TestApplicationNotofication",
L("TestApplicationNotofication"),
L("TestApplicationNotofication"),
notificationType: NotificationType.Application,
lifetime: NotificationLifetime.OnlyOne,
allowSubscriptionToClients: true));
}
protected LocalizableString L(string name)
{
return LocalizableString.Create<MessageServiceResource>(name);
}
}
}