Show / Hide Table of Contents

    Class DomainEvent<TEntity>

    An event that generates inside the domain (model).

    Inheritance
    object
    DomainEvent<TEntity>
    Implements
    IDomainEvent<TEntity>
    IDomainEvent
    IMessageWithSource
    IEvent
    IMessage
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Silverback.Domain
    Assembly: Silverback.Core.Model.dll
    Syntax
    public abstract class DomainEvent<TEntity> : IDomainEvent<TEntity>, IDomainEvent, IMessageWithSource, IEvent, IMessage where TEntity : class
    Type Parameters
    Name Description
    TEntity

    The type of the related domain entity.

    Constructors

    DomainEvent()

    An event that generates inside the domain (model).

    Declaration
    protected DomainEvent()

    Properties

    Source

    Gets the reference to the domain entity that generated this event.

    Declaration
    public TEntity? Source { get; set; }
    Property Value
    Type Description
    TEntity

    Implements

    IDomainEvent<TEntity>
    IDomainEvent
    IMessageWithSource
    IEvent
    IMessage
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini