Class NotificationModel<TModel, TTargetId>
This class represents a notification message to be sent.
Inheritance
System.Object
NotificationModel<TModel, TTargetId>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vasont.Publisher.Models.Notifications
Assembly: Vasont.Publisher.Models.dll
Syntax
public class NotificationModel<TModel, TTargetId>
Type Parameters
Name | Description |
---|---|
TModel | Contains the model type. |
TTargetId | Contains the target identity type. |
Properties
| Improve this Doc View SourceAlert
Gets or sets the message alert status type.
Declaration
public NotificationMessageAlertStatus Alert { get; set; }
Property Value
Type | Description |
---|---|
NotificationMessageAlertStatus |
Model
Gets or sets the additional notification model to be sent to the client.
Declaration
public TModel Model { get; set; }
Property Value
Type | Description |
---|---|
TModel |
NotificationDate
Gets or sets the notification date time in UTC.
Declaration
public DateTime NotificationDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
NotificationId
Gets or sets a unique message identity.
Declaration
public Guid NotificationId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
State
Gets or sets the notification state to pass to the system.
Declaration
public NotificationState State { get; set; }
Property Value
Type | Description |
---|---|
NotificationState |
Target
Gets or sets the target type.
Declaration
public NotificationTarget Target { get; set; }
Property Value
Type | Description |
---|---|
NotificationTarget |
TargetId
Gets or sets the notification target identity.
Declaration
public TTargetId TargetId { get; set; }
Property Value
Type | Description |
---|---|
TTargetId |
TenantId
Gets or sets the tenant identity for the notification message.
Declaration
public string TenantId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or sets the notification type.
Declaration
public NotificationType Type { get; set; }
Property Value
Type | Description |
---|---|
NotificationType |