Show / Hide Table of Contents

    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 source

    Source

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

    Declaration
    TEntity? Source { get; }
    Property Value
    Type Description
    TEntity
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini