TriggerHandler<TEntity> Class
Assembly: PTS.DomainFramework.Domain.dll
Syntax
public abstract class TriggerHandler<TEntity> : ITriggerHandler<TEntity>, ITriggerHandler where TEntity : class
Type Parameters
Inheritance
System.Object
TriggerHandler<TEntity>
Methods
CaptureEvent(Object, TriggerEvent)
Declaration
public void CaptureEvent(object entity, TriggerEvent args)
Parameters
Type |
Name |
Description |
System.Object |
entity |
|
TriggerEvent |
args |
|
FindEvent(Object)
Declaration
public TriggerEvent FindEvent(object entity)
Parameters
Type |
Name |
Description |
System.Object |
entity |
|
Returns
HandleEvent(Object)
Declaration
public void HandleEvent(object entity)
Parameters
Type |
Name |
Description |
System.Object |
entity |
|
OnAdded(TEntity, TriggerEvent)
Declaration
public virtual void OnAdded(TEntity entity, TriggerEvent args)
Parameters
OnAttached(TEntity, TriggerEvent)
Declaration
public virtual void OnAttached(TEntity entity, TriggerEvent args)
Parameters
OnRemoved(TEntity, TriggerEvent)
Declaration
public virtual void OnRemoved(TEntity entity, TriggerEvent args)
Parameters
OnSaved(TEntity, TriggerEvent)
Declaration
public virtual void OnSaved(TEntity entity, TriggerEvent args)
Parameters
OnUpdated(TEntity, TriggerEvent)
Declaration
public virtual void OnUpdated(TEntity entity, TriggerEvent args)
Parameters
RemoveEvent(Object)
Declaration
public void RemoveEvent(object entity)
Parameters
Type |
Name |
Description |
System.Object |
entity |
|
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()
Extension Methods