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