mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-30 02:31:08 +00:00
19 lines
393 B
C#
19 lines
393 B
C#
using System;
|
|
|
|
namespace CleanArchitecture.Shared.Events;
|
|
|
|
public class FanoutDomainEvent : DomainEvent
|
|
{
|
|
public DomainEvent DomainEvent { get; }
|
|
public Guid? UserId { get; }
|
|
|
|
public FanoutDomainEvent(
|
|
Guid aggregateId,
|
|
DomainEvent domainEvent,
|
|
Guid? userId) : base(aggregateId)
|
|
{
|
|
DomainEvent = domainEvent;
|
|
UserId = userId;
|
|
}
|
|
}
|