AddDomainEventHandler Method
Definition
- Assemblies
- Savvyio.Domain.dll
AddDomainEventHandler<TImplementation>(SavvyioOptions)
Adds an implementation of the IDomainEventHandler interface to HandlerImplementationTypes (if not already registered).
public static SavvyioOptions AddDomainEventHandler<TImplementation>(this SavvyioOptions options) where TImplementation : class, IDomainEventHandler
Parameters
optionsSavvyioOptionsThe SavvyioOptions to extend.
Returns
- SavvyioOptions
A reference to
optionsso that additional configuration calls can be chained.
Type Parameters
TImplementationThe type that implements the IDomainEventHandler interface.