mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-12 11:32:10 +08:00
18 lines
434 B
C#
18 lines
434 B
C#
using BuildingBlocks.Core.Event;
|
|
using BuildingBlocks.Core.Model;
|
|
|
|
namespace BuildingBlocks.EventStoreDB.Events
|
|
{
|
|
using Microsoft.FSharp.Control;
|
|
|
|
public interface IAggregateEventSourcing : IProjection, IEntity
|
|
{
|
|
IReadOnlyList<IDomainEvent> DomainEvents { get; }
|
|
IDomainEvent[] ClearDomainEvents();
|
|
}
|
|
|
|
public interface IAggregateEventSourcing<T> : IAggregateEventSourcing, IEntity<T>
|
|
{
|
|
}
|
|
}
|