UnitOfWork.Unity.Inteception 1.0.16

https://raw.githubusercontent.com/semashkinvg/UnitOfWork.Unity.Inteception/master/README.md

Install-Package UnitOfWork.Unity.Inteception -Version 1.0.16
dotnet add package UnitOfWork.Unity.Inteception --version 1.0.16
<PackageReference Include="UnitOfWork.Unity.Inteception" Version="1.0.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnitOfWork.Unity.Inteception --version 1.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

UnitOfWork.Unity.Inteception Build Status

The implementation of Unit-Of-Work pattern behaviour using unity interception

Example

var uc = new UnityContainer();
uc.AddNewExtension<Interception>();

// the unit of work has been registered as per scope.
uc.RegisterType<IUnitOfWork, YourUoWImplementation>(new SomePerScopeLifeTimeManager());
// by the specifying interceptor to a specific implementation, you can group some operations into one transaction.
uc.RegisterType<IDummyService, DummyService>(
    new Interceptor<InterfaceInterceptor>(), new InterceptionBehavior<UoWInterceptionBehavior<IUnitOfWork>>());

UnitOfWork.Unity.Inteception Build Status

The implementation of Unit-Of-Work pattern behaviour using unity interception

Example

var uc = new UnityContainer();
uc.AddNewExtension<Interception>();

// the unit of work has been registered as per scope.
uc.RegisterType<IUnitOfWork, YourUoWImplementation>(new SomePerScopeLifeTimeManager());
// by the specifying interceptor to a specific implementation, you can group some operations into one transaction.
uc.RegisterType<IDummyService, DummyService>(
    new Interceptor<InterfaceInterceptor>(), new InterceptionBehavior<UoWInterceptionBehavior<IUnitOfWork>>());

Release Notes

See release notes here  https://github.com/semashkinvg/UnitOfWork.Unity.Inteception/blob/master/ReleaseNotes.md

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.16 422 7/4/2018
1.0.13 377 6/25/2018