Interface IDomainEvent<TEntity>
An event that generates inside the domain (model).
Namespace: Silverback.Domain
Assembly: Silverback.Core.Model.dll
Syntax
public interface IDomainEvent<out TEntity> : IDomainEvent, IMessageWithSource, IEvent, IMessage where TEntity : class
Type Parameters
Name | Description |
---|---|
TEntity | The type of the related domain entity. |
Properties
| Improve this doc View sourceSource
Gets the reference to the domain entity that generated this event.
Declaration
TEntity? Source { get; }
Property Value
Type | Description |
---|---|
TEntity |