ConversationMessageTriggerService Class
Namespace: PTS.Modules.Messages.Common
Assembly: PTS.Modules.Messages.dll
Syntax
public class ConversationMessageTriggerService : TriggerHandler<ConversationMessage>, ITriggerHandler<ConversationMessage>, ITriggerHandler
Constructors
ConversationMessageTriggerService(IUnitOfWork)
Declaration
public ConversationMessageTriggerService(IUnitOfWork unitOfWork)
Parameters
Type | Name | Description |
---|---|---|
IUnitOfWork | unitOfWork |
Properties
ConversationMembers
Declaration
protected IRepository<ConversationMember> ConversationMembers { get; }
Property Value
Type | Description |
---|---|
IRepository<ConversationMember> |
Conversations
Declaration
protected IRepository<Conversation> Conversations { get; }
Property Value
Type | Description |
---|---|
IRepository<Conversation> |
UnitOfWork
Declaration
protected IUnitOfWork UnitOfWork { get; }
Property Value
Type | Description |
---|---|
IUnitOfWork |
Methods
OnAdded(ConversationMessage, TriggerEvent)
Declaration
public override void OnAdded(ConversationMessage entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
ConversationMessage | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Messages.Domain.ConversationMessage>.OnAdded(PTS.Modules.Messages.Domain.ConversationMessage, PTS.DomainFramework.Domain.TriggerEvent)
OnAttached(ConversationMessage, TriggerEvent)
Declaration
public override void OnAttached(ConversationMessage entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
ConversationMessage | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Messages.Domain.ConversationMessage>.OnAttached(PTS.Modules.Messages.Domain.ConversationMessage, PTS.DomainFramework.Domain.TriggerEvent)
OnRemoved(ConversationMessage, TriggerEvent)
Declaration
public override void OnRemoved(ConversationMessage entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
ConversationMessage | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Messages.Domain.ConversationMessage>.OnRemoved(PTS.Modules.Messages.Domain.ConversationMessage, PTS.DomainFramework.Domain.TriggerEvent)
OnSaved(ConversationMessage, TriggerEvent)
Declaration
public override void OnSaved(ConversationMessage entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
ConversationMessage | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Messages.Domain.ConversationMessage>.OnSaved(PTS.Modules.Messages.Domain.ConversationMessage, PTS.DomainFramework.Domain.TriggerEvent)
OnUpdated(ConversationMessage, TriggerEvent)
Declaration
public override void OnUpdated(ConversationMessage entity, TriggerEvent args)
Parameters
Type | Name | Description |
---|---|---|
ConversationMessage | entity | |
TriggerEvent | args |
Overrides
PTS.DomainFramework.Common.TriggerHandler<PTS.Modules.Messages.Domain.ConversationMessage>.OnUpdated(PTS.Modules.Messages.Domain.ConversationMessage, PTS.DomainFramework.Domain.TriggerEvent)
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()