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
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
- Use notification type
var notificationType = NotificationType.Application;
- Use notification severity
var severity = NotificationSeverity.Info;