public void DetectConflicts <T>(Predicate <List <IDomainEventMessage> > predicate, ConflictExceptionSupplier <T> exceptionSupplier) where T : Exception { DetectConflicts(predicate, cd => exceptionSupplier.Invoke(cd.AggregateIdentifier, cd.ExpectedVersion, cd.ActualVersion)); }
public void DetectConflicts <T>(Predicate <List <IDomainEventMessage> > predicate, ConflictExceptionSupplier <T> exceptionSupplier) where T : Exception { }