10 lines
314 B
C#
10 lines
314 B
C#
using Common.Domain.Abstractions;
|
|
using MediatR;
|
|
|
|
namespace Modules.User.Application.DomainEvents.MediatrDomainEvents;
|
|
|
|
public class DomainEventNotification<TDomainEvent>(TDomainEvent domainEvent) : INotification
|
|
where TDomainEvent : IDomainEvent
|
|
{
|
|
public TDomainEvent DomainEvent { get; } = domainEvent;
|
|
} |