Unity interception enables you to effectively capture calls to objects and add additional functionality to the target object. Interception is useful when you want to modify the behavior for individual objects but not the entire class, very much as you would do when using the Decorator pattern. It provides a flexible approach for adding new behaviors to an object at run time. This library contains a class library that targets .Net Core 2.0 & .Net Standard 2.0.
Install-Package Unity.Interception.NetCore -Version 4.0.4
dotnet add package Unity.Interception.NetCore --version 4.0.4
<PackageReference Include="Unity.Interception.NetCore" Version="4.0.4" />
paket add Unity.Interception.NetCore --version 4.0.4