NotificationPayloadTriggerService Class
Namespace: PTS.Modules.Notifications.Common
Assembly: PTS.Modules.Notifications.dll
Syntax
public class NotificationPayloadTriggerService : TriggerHandler<NotificationPayload>, ITriggerHandler<NotificationPayload>, ITriggerHandler
Constructors
NotificationPayloadTriggerService(IUnitOfWork)
Declaration
public NotificationPayloadTriggerService(IUnitOfWork unitOfWork)
Parameters
Type | Name | Description |
---|---|---|
IUnitOfWork | unitOfWork |
Properties
NotificationPayloads
Declaration
protected IRepository<NotificationPayload> NotificationPayloads { get; }
Property Value
Type | Description |
---|---|
IRepository<NotificationPayload> |
Notifications
Declaration
protected IRepository<Notification> Notifications { get; }
Property Value
Type | Description |
---|---|
IRepository<Notification> |
unitOfWork
Declaration
protected IUnitOfWork unitOfWork { get; }
Property Value
Type | Description |
---|---|
IUnitOfWork |
Methods
OnAdded(NotificationPayload, TriggerEvent)
Declaration
public override void OnAdded(NotificationPayload entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
NotificationPayload | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Notifications.Domain.NotificationPayload>.OnAdded(PTS.Modules.Notifications.Domain.NotificationPayload, PTS.DomainFramework.Domain.TriggerEvent)
OnUpdated(NotificationPayload, TriggerEvent)
Declaration
public override void OnUpdated(NotificationPayload entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
NotificationPayload | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Notifications.Domain.NotificationPayload>.OnUpdated(PTS.Modules.Notifications.Domain.NotificationPayload, PTS.DomainFramework.Domain.TriggerEvent)
UpdateNotificationStatus(NotificationPayload, TriggerEvent)
Declaration
protected virtual void UpdateNotificationStatus(NotificationPayload entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
NotificationPayload | entity | |
TriggerEvent | args |
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()