Exemplo n.º 1
0
 /// <summary>
 /// Refuses the specified root.
 /// </summary>
 /// <typeparam name="TEntity">The type of the entity.</typeparam>
 /// <param name="root">The root.</param>
 /// <param name="event">The @event.</param>
 public void Refuse(IAggregateRoot <TEntity, TId> root, IDomainEvent <TEntity> @event)
 {
     root.RemoveEvent(@event);
     root.Regenerate();
 }