这是基于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.
 
 
 
 
 
 

1.1 KiB

LINGYUN.Abp.Notifications.Domain.Shared

The shared domain layer module of the notification system, providing shared constants, enums, and other domain objects for the notification system.

Features

  • Notification type definition
  • Notification severity definition
  • Notification status definition
  • Notification lifetime definition
  • Notification constant definition

Module References

[DependsOn(typeof(AbpNotificationsDomainSharedModule))]
public class YouProjectModule : AbpModule
{
  // other
}

Enum Definitions

NotificationType

  • Application - Application notification
  • System - System notification
  • User - User notification

NotificationSeverity

  • Info - Information
  • Success - Success
  • Warn - Warning
  • Error - Error
  • Fatal - Fatal error

NotificationLifetime

  • Persistent - Persistent notification
  • OnlyOne - One-time notification

Basic Usage

  1. Use notification type
var notificationType = NotificationType.Application;
  1. Use notification severity
var severity = NotificationSeverity.Info;

More Information