Unity.Container implementation.
Перейти к файлу
Eugene Sadovoi d2b311a1f9 Optimization
Method |      Mean |     Error |     StdDev |    Median |
---------------- |----------:|----------:|-----------:|----------:|
 IUnityContainer |  70.14 ns |  2.644 ns |  3.2472 ns |  69.36 ns |
       Container |  69.50 ns |  1.439 ns |  1.8711 ns |  69.21 ns |
    Unregistered |  92.20 ns |  1.474 ns |  1.1504 ns |  92.00 ns |
       Transient |  99.68 ns |  1.016 ns |  0.7936 ns |  99.90 ns |
         Mapping | 193.21 ns |  4.370 ns | 12.1832 ns | 188.32 ns |
           Array | 776.40 ns | 14.911 ns | 12.4516 ns | 776.54 ns |
      Enumerable | 904.25 ns | 17.715 ns | 16.5706 ns | 897.31 ns |
2018-12-20 17:53:39 -05:00
.github/ISSUE_TEMPLATE Updated template 2018-09-01 10:41:39 -04:00
src Optimization 2018-12-20 17:53:39 -05:00
tests Performance optimizations 2018-12-19 22:00:17 -05:00
.gitignore Releasing v5.6.0 2018-02-21 13:06:09 -05:00
LICENSE Added LICENSE and README.md 2017-10-01 13:56:27 -04:00
README.md Fixed reference 2018-12-14 12:06:37 -05:00
appveyor.yml Enabling build 2018-08-26 19:31:29 -04:00
codecov.yml Update codecov.yml 2018-02-23 10:35:08 -05:00
package.props Updated PropertyMembers to new format 2018-12-15 21:48:37 -05:00
package.sln Fixing build 2018-08-26 19:29:27 -04:00

README.md

Build status codecov License NuGet NuGet

Overview

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