2025-03-15 16:54:20 +03:30

14 lines
263 B
C#

using BuildingBlocks.Core.Event;
namespace BuildingBlocks.Core.Model;
public interface IAggregate<T> : IAggregate, IEntity<T>
{
}
public interface IAggregate : IEntity
{
IReadOnlyList<IDomainEvent> DomainEvents { get; }
IEvent[] ClearDomainEvents();
}