DryIoc.dll 4.7.0

DryIoc is fast, small, full-featured IoC Container for .NET

There is a newer version of this package available.
See the version list below for details.
Install-Package DryIoc.dll -Version 4.7.0
dotnet add package DryIoc.dll --version 4.7.0
<PackageReference Include="DryIoc.dll" Version="4.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DryIoc.dll --version 4.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DryIoc.dll, 4.7.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DryIoc.dll as a Cake Addin
#addin nuget:?package=DryIoc.dll&version=4.7.0

// Install DryIoc.dll as a Cake Tool
#tool nuget:?package=DryIoc.dll&version=4.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## v4.7.0 Feature release

- #338 Child container disposes parent container singletons
- #355 Auto mocking feature for unit testing
- #356 Surface the FindFactoryWithTheMinReuseLifespan so it can be used together with the FactorySelector
- #357 Avoid overload ambiguity for the ScopedTo(Type) by adding the separate ScopedToService
- #358 Add and surface the Scope.Clone(withDisposables=false) to enable more ChildContainer scenarios
- #359 DynamicRegistrationsAsFallback being unnecessary called multiple times
- #360 Mark DynamicRegistrationProvider with the FactoryType (Service, Decorator or combination) to avoid unnecessary provider call and factory creation
- #363 Add CreateChild method as the basis for CreateFacade and such


## v4.6.0 Feature release

- #216 Add Rules.WithThrowIfScopedOrSingletonHasTransientDependency
- #343 Scope validation for Transient does not work as expected
- #344 Scope is disposed before parent when using facade (added Scopes and Singleton cloning into CreateFacade)
- #348 Create a child container without WithNoMoreRegistrationAllowed flag (surfacing IsRegistryChangePermitted in With method)
- #350 Wrong scoped resolve (together with MS DI rules)
- #352 Consider resolving the variance compatible open-generic the same as for collection of open-generics (added Rules.WithVarianceGenericTypesInResolve)

  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 1.3

  • .NETStandard 2.0

  • Portable Class Library (.NETFramework 4.0, Silverlight 5.0, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.

NuGet packages (66)

Showing the top 5 NuGet packages that depend on DryIoc.dll:

Package Downloads
DryIoc.Microsoft.DependencyInjection
DryIoc adapter for Microsoft.Extensions.DependencyInjection
Prism.DryIoc.Forms
Use these extensions to build Xamarin.Forms applications with Prism and DryIoc.
DryIoc.MefAttributedModel.dll
DryIoc.MefAttributedModel is DryIoc extension to support Microsoft Managed Extensibility Framework for DryIoc container
DryIoc.WebApi.dll
DryIoc extension for ASP.NET WebAPI
DryIoc.CommonServiceLocator.dll
Implementation of CommonServiceLocator for DryIoc container, see rationale at https://github.com/unitycontainer/commonservicelocator

GitHub repositories (9)

Showing the top 5 popular GitHub repositories that depend on DryIoc.dll:

Repository Stars
PrismLibrary/Prism
Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..
digimezzo/dopamine-windows
Audio player which tries to make organizing and listening to music as simple and pretty as possible.
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
Readarr/Readarr
Book Manager and Automation (Sonarr for Ebooks)
reactiveui/splat
Makes things cross-platform

Version History

Version Downloads Last updated
4.7.5 12,978 4/4/2021
4.7.4 44,398 2/26/2021
4.7.3 23,145 2/9/2021
4.7.2 29,900 1/16/2021
4.7.1 198 1/15/2021
4.7.0 70,120 1/5/2021
4.7.0-preview-01 257 12/14/2020
4.6.0 8,429 12/10/2020
4.5.2 47,329 12/3/2020
4.5.1 88,327 10/28/2020
4.5.0 97,199 10/12/2020
4.4.1 53,129 9/9/2020
4.4.0 960 9/4/2020
4.3.4 6,919 9/1/2020
4.3.3 5,303 8/27/2020
4.3.2 37,349 8/15/2020
4.3.1 15,776 8/7/2020
4.3.0 26,986 8/3/2020
4.2.5 11,168 7/20/2020
4.2.4 20,419 7/14/2020
4.2.3 6,950 7/4/2020
4.2.2 2,104 7/2/2020
4.2.1 46,544 6/8/2020
4.2.0 18,555 5/18/2020
4.1.4 170,536 4/3/2020
4.1.3 18,171 3/27/2020
4.1.2 19,181 3/12/2020
4.1.1 5,871 3/5/2020
4.1.1-preview-01 1,020 3/4/2020
4.1.0 36,868 1/20/2020
4.1.0-preview-04 2,420 1/5/2020
4.1.0-preview-03 6,515 10/3/2019
4.1.0-preview-02 3,792 8/25/2019
4.1.0-preview-01 577 8/21/2019
4.0.7 753,543 9/4/2019
4.0.6 2,137 8/29/2019
4.0.5 172,390 6/8/2019
4.0.5-preview-01 5,497 6/7/2019
4.0.4 101,297 5/1/2019
4.0.3 8,198 4/10/2019
4.0.2 66,130 3/30/2019
4.0.1 18,439 3/28/2019
4.0.0 55,805 3/4/2019
4.0.0-preview-02 810 2/22/2019
4.0.0-preview-01 3,283 12/1/2018
3.1.0-preview-07 2,524 11/20/2018
3.1.0-preview-06 2,693 11/7/2018
3.1.0-preview-05 757 10/12/2018
3.1.0-preview-04 930 10/6/2018
3.1.0-preview-03 703 10/5/2018
3.1.0-preview-02 656 10/4/2018
3.1.0-preview-01 691 10/3/2018
3.0.2 417,040 7/11/2018
3.0.1 1,468 7/7/2018
3.0.0 1,648 6/24/2018
3.0.0-preview-12 997 6/6/2018
3.0.0-preview-11 2,139 3/17/2018
3.0.0-preview-10 863 3/13/2018
3.0.0-preview-09 902 2/21/2018
3.0.0-preview-08 842 2/12/2018
3.0.0-preview-07 884 2/9/2018
3.0.0-preview-06 851 2/8/2018
3.0.0-preview-05 891 2/5/2018
3.0.0-preview-04 803 2/1/2018
3.0.0-preview-03 1,814 12/3/2017
3.0.0-preview-02 968 11/14/2017
3.0.0-preview-01 1,427 10/1/2017
2.12.10 88,277 4/11/2018
2.12.8 29,817 3/13/2018
2.12.7 24,122 1/19/2018
2.12.6 82,807 12/21/2017
2.12.5 29,078 10/30/2017
2.12.4 7,876 10/17/2017
2.12.3 4,824 10/2/2017
2.12.2 18,748 9/17/2017
2.12.1 51,698 9/9/2017
2.12.0 2,610 9/1/2017
2.12.0-preview-01 3,174 8/29/2017
2.11.6 11,414 7/18/2017
2.11.5 2,925 7/12/2017
2.11.4 7,659 6/28/2017
2.11.3 8,458 6/1/2017
2.11.2 861 6/1/2017
2.11.1 3,878 5/31/2017
2.11.0 939 5/30/2017
2.11.0-preview-02 1,384 3/15/2017
2.11.0-preview-01 803 3/10/2017
2.10.7 8,027 5/3/2017
2.10.6 39,409 4/20/2017
2.10.4 4,233 3/28/2017
2.10.3 964 3/25/2017
2.10.2 4,839 3/14/2017
2.10.1 20,834 2/18/2017
2.10.0 8,704 2/1/2017
2.9.7 7,136 1/12/2017
2.9.6 1,330 12/30/2016
2.9.5 1,168 12/26/2016
2.9.4 2,607 12/10/2016
2.9.3 1,050 12/8/2016
2.9.2 1,126 12/3/2016
2.9.1 1,836 11/19/2016
2.9.0 1,498 11/17/2016
2.8.5 1,827 11/2/2016
2.8.4 1,264 10/28/2016
2.8.3 6,944 10/20/2016
2.8.2 1,733 10/20/2016
2.8.1 880 10/19/2016
2.8.0 880 10/18/2016
2.8.0-preview-01 810 10/13/2016
2.7.1 30,439 9/1/2016
2.7.0 4,655 8/19/2016
2.6.4 4,672 7/29/2016
2.6.3 3,243 7/9/2016
2.6.3-netcore-rc2 1,229 7/9/2016
2.6.2 2,995 6/13/2016
2.6.2-netcore-rc2 989 6/13/2016
2.6.1-netcore-rc2 826 6/10/2016
2.6.0 1,107 6/10/2016
2.5.1 966 6/7/2016
2.5.0 1,732 5/24/2016
2.4.3 1,963 5/7/2016
2.4.2 1,236 4/26/2016
2.4.1 3,320 4/16/2016
2.4.0 1,050 4/14/2016
2.3.0 2,216 3/30/2016
2.2.2 5,104 3/10/2016
2.2.1 890 3/8/2016
2.2.0 1,402 2/26/2016
2.1.3 1,621 1/17/2016
2.1.2 1,061 1/15/2016
2.1.1 1,214 1/4/2016
2.1.0 1,817 12/4/2015
2.0.2 1,144 12/1/2015
2.0.1 1,030 11/27/2015
2.0.0 35,221 11/19/2015
2.0.0-rc4build353 895 11/18/2015
2.0.0-rc4build352 874 11/17/2015
2.0.0-rc4build351 856 11/17/2015
2.0.0-rc4build350 931 11/17/2015
2.0.0-rc4build349 891 11/12/2015
2.0.0-rc4build348 887 11/12/2015
2.0.0-rc4build347 861 11/12/2015
2.0.0-rc4build346 875 11/12/2015
2.0.0-rc4build345 837 11/12/2015
2.0.0-rc4build344 867 11/7/2015
2.0.0-rc4build343 906 11/5/2015
2.0.0-rc4build342 1,209 11/1/2015
2.0.0-rc4build341 877 10/29/2015
2.0.0-rc4build340 996 11/12/2015
2.0.0-rc4build339 845 11/7/2015
2.0.0-rc4build338 869 11/5/2015
2.0.0-rc4build337 866 11/1/2015
2.0.0-rc4build336 861 10/29/2015
2.0.0-rc3build340 863 10/26/2015
2.0.0-rc3build339 773 10/26/2015
2.0.0-rc3build338 769 10/23/2015
2.0.0-rc3build337 837 10/20/2015
2.0.0-rc3build336 810 10/19/2015
2.0.0-rc3build335 889 10/12/2015
2.0.0-rc3build334 827 10/10/2015
2.0.0-rc3build333 827 10/6/2015
2.0.0-rc3build332 835 10/6/2015
2.0.0-rc3build331 821 10/1/2015
2.0.0-rc3build330 755 10/1/2015
2.0.0-rc3build329 783 9/30/2015
2.0.0-rc3build328 851 9/26/2015
2.0.0-rc3build327 827 9/25/2015
2.0.0-rc3build326 791 9/25/2015
2.0.0-rc3build325 777 9/25/2015
2.0.0-rc3build324 848 9/11/2015
2.0.0-rc3build323 813 9/11/2015
2.0.0-rc3build322 808 9/11/2015
2.0.0-rc3build321 788 9/11/2015
2.0.0-rc3build320 798 9/11/2015
2.0.0-rc3build319 825 9/8/2015
2.0.0-rc3build318 840 9/6/2015
2.0.0-rc3build317 821 9/3/2015
2.0.0-rc3build316 868 9/2/2015
2.0.0-rc3build315 820 8/31/2015
2.0.0-rc3build314 846 9/8/2015
2.0.0-rc3build313 814 8/29/2015
2.0.0-rc3build312 838 8/23/2015
2.0.0-rc3build311 800 8/21/2015
2.0.0-rc3build310 852 8/18/2015
2.0.0-rc3build309 848 8/12/2015
2.0.0-rc3build308 788 8/6/2015
2.0.0-rc3build307 795 8/23/2015
2.0.0-rc3build306 794 8/6/2015
2.0.0-rc3build304 871 8/4/2015
2.0.0-rc3build303 825 8/6/2015
2.0.0-rc3build302 736 8/3/2015
2.0.0-rc3build301 849 7/31/2015
2.0.0-rc3build300 912 7/28/2015
2.0.0-rc3build299 797 7/28/2015
2.0.0-rc3build298 789 7/28/2015
2.0.0-rc3build297 763 7/31/2015
2.0.0-rc2build297 848 7/26/2015
2.0.0-rc2build295 1,031 7/24/2015
2.0.0-rc2build294 811 7/24/2015
2.0.0-rc2build293 806 7/26/2015
2.0.0-rc2build292 822 7/21/2015
2.0.0-rc2build291 803 7/24/2015
2.0.0-rc2build289 793 7/21/2015
2.0.0-rc1build371 778 1/11/2016
2.0.0-rc1build366 780 1/11/2016
2.0.0-rc1build288 790 7/4/2015
2.0.0-rc1build287 785 6/19/2015
2.0.0-rc1build286 822 6/8/2015
2.0.0-rc1build285 790 6/4/2015
2.0.0-rc1build284 822 6/3/2015
2.0.0-rc1build283 998 6/1/2015
2.0.0-rc1build282 813 5/29/2015
2.0.0-rc1build281 790 5/27/2015
2.0.0-rc1build280 847 5/27/2015
2.0.0-rc1build279 864 5/21/2015
2.0.0-rc1build278 856 5/16/2015
2.0.0-rc1build277 888 5/15/2015
2.0.0-rc1build276 952 5/21/2015
2.0.0-rc1build275 761 5/16/2015
2.0.0-rc1build274 858 5/15/2015
2.0.0-rc1build273 778 5/15/2015
2.0.0-rc1build272 831 5/14/2015
2.0.0-rc1build271 809 5/14/2015
2.0.0-rc1build270 802 5/13/2015
2.0.0-rc1build269 828 5/14/2015
2.0.0-rc1build268 786 5/12/2015
2.0.0-rc1build267 832 5/10/2015
2.0.0-rc1build266 759 5/7/2015
2.0.0-rc1build265 830 5/6/2015
2.0.0-rc1build264 834 5/5/2015
2.0.0-rc1build263 829 5/1/2015
2.0.0-rc1build262 800 4/30/2015
2.0.0-rc1build261 781 4/29/2015
2.0.0-rc1build260 775 4/28/2015
2.0.0-rc1build259 846 4/21/2015
2.0.0-rc1build258 780 4/29/2015
2.0.0-rc1build255 777 4/21/2015
2.0.0-preview256 918 4/15/2015
2.0.0-preview255 890 4/14/2015
2.0.0-preview254 847 4/14/2015
2.0.0-preview253 850 4/13/2015
2.0.0-preview252 878 4/10/2015
2.0.0-preview251 928 4/7/2015
2.0.0-preview250 821 4/6/2015
2.0.0-preview249 890 4/6/2015
2.0.0-preview248 845 4/7/2015
2.0.0-preview247 853 4/6/2015
2.0.0-preview246 877 4/6/2015
2.0.0-preview245 813 4/3/2015
2.0.0-preview244 837 4/3/2015
2.0.0-preview243 832 4/3/2015
2.0.0-preview242 826 4/2/2015
2.0.0-preview241 781 3/31/2015
2.0.0-preview240 867 3/31/2015
2.0.0-preview239 826 3/30/2015
2.0.0-preview238 827 3/30/2015
2.0.0-preview237 809 3/29/2015
2.0.0-preview236 851 3/28/2015
2.0.0-preview235 883 3/27/2015
2.0.0-preview234 795 3/27/2015
2.0.0-preview233 842 3/26/2015
2.0.0-preview232 903 3/26/2015
2.0.0-preview231 833 3/25/2015
2.0.0-preview230 863 3/25/2015
2.0.0-preview229 887 3/25/2015
2.0.0-preview228 846 3/23/2015
2.0.0-preview227 811 3/23/2015
2.0.0-preview226 876 3/19/2015
2.0.0-preview225 845 3/18/2015
2.0.0-preview224 854 3/18/2015
2.0.0-preview223 831 3/18/2015
2.0.0-preview222 813 3/17/2015
2.0.0-preview221 822 3/15/2015
2.0.0-preview220 816 3/14/2015
2.0.0-preview219 821 3/13/2015
2.0.0-preview218 845 3/11/2015
2.0.0-preview217 815 3/10/2015
2.0.0-preview216 854 3/10/2015
2.0.0-preview215 878 3/10/2015
2.0.0-preview214 826 3/10/2015
2.0.0-preview213 803 3/9/2015
2.0.0-preview212 832 3/6/2015
2.0.0-preview211 813 3/4/2015
2.0.0-preview210 877 3/4/2015
2.0.0-preview209 841 3/4/2015
2.0.0-preview208 794 3/3/2015
2.0.0-preview207 830 3/3/2015
2.0.0-preview206 835 3/3/2015
2.0.0-preview205 840 3/2/2015
2.0.0-preview204 824 3/2/2015
2.0.0-preview203 874 2/26/2015
2.0.0-preview202 845 2/25/2015
2.0.0-preview201 860 2/20/2015
2.0.0-preview200 984 2/20/2015
2.0.0-preview199 838 2/20/2015
2.0.0-preview198 888 2/19/2015
2.0.0-preview197 814 2/19/2015
2.0.0-preview196 822 2/19/2015
2.0.0-preview195 847 2/19/2015
2.0.0-preview194 866 2/18/2015
2.0.0-preview193 940 2/18/2015
2.0.0-preview192 889 2/17/2015
2.0.0-preview191 941 2/17/2015
2.0.0-preview190 823 2/17/2015
2.0.0-preview189 830 2/12/2015
2.0.0-preview188 943 2/11/2015
2.0.0-preview187 953 2/11/2015
2.0.0-preview186 871 2/11/2015
2.0.0-preview185 836 2/10/2015
2.0.0-preview184 886 2/10/2015
2.0.0-preview183 919 2/10/2015
2.0.0-preview182 839 2/9/2015
2.0.0-preview181 1,246 2/2/2015
2.0.0-preview180 892 2/2/2015
2.0.0-preview179 810 1/31/2015
2.0.0-preview178 872 1/30/2015
2.0.0-preview177 898 1/29/2015
2.0.0-preview176 887 1/24/2015
2.0.0-preview175 953 1/24/2015
2.0.0-preview174 916 1/23/2015
2.0.0-preview173 906 1/18/2015
2.0.0-preview172 897 1/19/2015
2.0.0-preview171 868 1/16/2015
2.0.0-preview170 907 1/16/2015
2.0.0-preview169 869 1/16/2015
2.0.0-preview168 821 1/16/2015
2.0.0-preview167 836 1/16/2015
2.0.0-preview166 931 1/15/2015
2.0.0-preview165 904 1/15/2015
2.0.0-preview164 866 1/15/2015
2.0.0-preview163 862 1/15/2015
2.0.0-preview162 891 1/14/2015
2.0.0-preview161 905 1/14/2015
2.0.0-preview160 847 1/14/2015
2.0.0-preview159 877 1/14/2015
2.0.0-preview158 868 1/14/2015
2.0.0-preview157 844 1/14/2015
2.0.0-preview156 834 1/13/2015
2.0.0-preview155 895 1/13/2015
2.0.0-preview154 878 1/12/2015
2.0.0-preview153 894 1/12/2015
2.0.0-preview152 831 1/9/2015
2.0.0-preview151 830 1/9/2015
2.0.0-preview150 887 1/8/2015
2.0.0-preview148 836 1/8/2015
2.0.0-preview147 853 1/3/2015
2.0.0-preview146 853 1/3/2015
2.0.0-preview145 887 12/30/2014
2.0.0-preview144 927 12/29/2014
2.0.0-preview143 899 12/29/2014
2.0.0-preview142 818 12/23/2014
2.0.0-preview141 861 12/23/2014
2.0.0-preview140 898 12/23/2014
2.0.0-preview139 887 12/20/2014
2.0.0-preview138 827 12/20/2014
2.0.0-preview137 850 12/20/2014
2.0.0-preview136 828 12/20/2014
2.0.0-preview135 851 12/20/2014
2.0.0-preview133 842 12/18/2014
2.0.0-preview132 895 12/15/2014
2.0.0-preview131 2,960 12/14/2014
2.0.0-preview130 910 12/12/2014
2.0.0-preview129 896 12/12/2014
2.0.0-preview128 915 12/11/2014
2.0.0-preview127 828 12/10/2014
2.0.0-preview126 841 12/10/2014
2.0.0-preview125 881 12/8/2014
2.0.0-preview124 852 12/8/2014
2.0.0-preview123 989 12/7/2014
2.0.0-preview119 916 11/24/2014
2.0.0-preview118 1,511 11/21/2014
2.0.0-preview116 1,483 11/13/2014
2.0.0-preview115 1,035 11/6/2014
2.0.0-preview114 1,350 11/6/2014
2.0.0-preview113 1,144 11/5/2014
2.0.0-preview112 1,076 11/5/2014
2.0.0-preview110 1,306 11/5/2014
2.0.0-preview109 1,557 11/4/2014
2.0.0-preview108 1,224 10/31/2014
2.0.0-preview107 1,464 10/31/2014
2.0.0-preview105 1,528 10/31/2014
2.0.0-preview104 854 10/29/2014
2.0.0-preview103 853 10/27/2014
2.0.0-preview102 919 10/27/2014
2.0.0-preview101 952 10/24/2014
2.0.0-beta258 824 4/21/2015
2.0.0-beta254 944 4/20/2015
1.4.1 4,210 10/9/2014
1.4.0 1,221 9/10/2014
1.3.1 1,137 8/18/2014
1.3.0 1,134 7/16/2014
1.2.2 1,040 7/2/2014
1.2.1 922 6/30/2014
1.2.0 1,094 1/9/2014
1.1.1 991 12/26/2013
1.1.0 942 12/26/2013
1.0.11 1,252 12/24/2013
Show less