Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.66 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.66 KB

Unity for .Net Core 2.0 & .Net Standard 2.0

The Unity Container (Unity) is a lightweight, extensible dependency injection container. It facilitates building loosely coupled applications and provides developers with the following advantages:

  • Simplified object creation, especially for hierarchical object structures and dependencies
  • Abstraction of requirements; this allows developers to specify dependencies at run time or in configuration and simplify management of crosscutting concerns
  • Increased flexibility by deferring component configuration to the container
  • Service location capability; this allows clients to store or cache the container
  • Instance and type interception
  • Registration by convention

How To Install The Package

To install Unity for .Net Core 2.0 & .Net Standard 2.0, run the following command in the Package Manager Console:

PM> Install-Package Unity.NetCore

Package URL

https://www.nuget.org/packages/Unity.NetCore/

Unity Interception for .Net Core 2.0 & .Net Standard 2.0

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.

How To Install The Package

To install Unity.Interception for .Net Core 2.0 & .Net Standard 2.0, run the following command in the Package Manager Console:

PM> Install-Package Unity.Interception.NetCore

Package URL

https://www.nuget.org/packages/Unity.Interception.NetCore/