zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Entities/IDomainEvents.cs

16 lines
336 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using MediatR;
namespace ZeroFramework.DeviceCenter.Domain.Entities
{
public interface IDomainEvents
{
IReadOnlyCollection<INotification> DomainEvents { get; }
void AddDomainEvent(INotification eventItem);
void RemoveDomainEvent(INotification eventItem);
void ClearDomainEvents();
}
}