DomainEventHandler Class
Definition
Provides a generic and consistent way of handling Domain Event (as specified in Domain Driven Design) objects that implements the IDomainEvent interface. This is an abstract class.
public abstract class DomainEventHandler : IDomainEventHandler, IFireForgetHandler<IDomainEvent>, IHandler<IDomainEvent>, IHandler
- Inheritance
-
DomainEventHandler
- Implements
Constructors
| Name | Description |
|---|---|
| DomainEventHandler() | Initializes a new instance of the DomainEventHandler class. |
Properties
| Name | Description |
|---|---|
| Delegates | Gets the activator responsible of invoking delegates that handles IDomainEvent. |
Methods
| Name | Description |
|---|---|
| RegisterDelegates(IFireForgetRegistry<IDomainEvent>) | Registers the delegates responsible of handling types that implements the IDomainEvent interface. |