Ejemplo n.º 1
0
 public static Task <T> CreateAsync <T>(
     this IEventStore store,
     IEnumerable <IEvent> events,
     CancellationToken cancellationToken = default)
     where T : IAggregate, new()
 {
     return(store.CreateAsync <T, Guid>(events, cancellationToken));
 }