This package provides application extensions for MediatR
dotnet add package NBB.Application.MediatR
MediatorUowDecorator<TEntity>
is a decorator for the unit of work interface, that collects uncommitted events from evented entities in the unit of work and sends those events via MediatR.
You can register the decorator in the composition root like so:
services.Decorate(typeof(IUow<>), typeof(MediatorUowDecorator<>));