NotificationTriggerService Class
Namespace: PTS.Modules.Notifications.Common
Assembly: PTS.Modules.Notifications.dll
Syntax
public class NotificationTriggerService : TriggerHandler<Notification>, ITriggerHandler<Notification>, ITriggerHandler
Constructors
NotificationTriggerService(IUnitOfWork)
Declaration
public NotificationTriggerService(IUnitOfWork unitOfWork)
Parameters
Type | Name | Description |
---|---|---|
IUnitOfWork | unitOfWork |
Fields
unitOfWork
Declaration
protected readonly IUnitOfWork unitOfWork
Field Value
Type | Description |
---|---|
IUnitOfWork |
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> |
Methods
OnAdded(Notification, TriggerEvent)
Declaration
public override void OnAdded(Notification entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
Notification | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Notifications.Domain.Notification>.OnAdded(PTS.Modules.Notifications.Domain.Notification, PTS.DomainFramework.Domain.TriggerEvent)
OnUpdated(Notification, TriggerEvent)
Declaration
public override void OnUpdated(Notification entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
Notification | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Notifications.Domain.Notification>.OnUpdated(PTS.Modules.Notifications.Domain.Notification, PTS.DomainFramework.Domain.TriggerEvent)
UpdatePayloads(Notification, TriggerEvent)
Declaration
protected virtual void UpdatePayloads(Notification entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
Notification | 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()