Skip to content

Latest commit

 

History

History

NBB.Application.MediatR

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

NBB.Application.MediatR

This package provides application extensions for MediatR

NuGet install

dotnet add package NBB.Application.MediatR

MediatorUowDecorator

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<>));