DryIoc.dll 2.1.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 2.1.0
dotnet add package DryIoc.dll --version 2.1.0
<PackageReference Include="DryIoc.dll" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DryIoc.dll --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v2.1.0
         - added: #205: Add customizable IfAlreadyRegistered default value per container
         - added: #204: Add ResolveMany of objects wout need to specify ResolveMany{Object}
         - fixed: #203: RegisterMany should exclude ValueType and general purpose service types IEquatable, IComparable
         v2.0.2
         - fixed: #201: Mutithreading issue when RegisterInstance() is used within OpenScope()
         v2.0.1
         - fixed: #200 Multiple instances for Singleton created when Container is shared among multiple threads
         v2.0.0
         - Support for PCL 328 and 259 profiles, and .NET Core via dotnet moniker.
         - More consistent and complete API surface.
         - Diagnostics of potential resolution problems with `container.VerifyResolutions()`.
         - Improved registration and first resolution time.
         - Support of really large object graphs.
         - Possibility of compile-time factory delegate generation. Utilized by DryIocZero.
         - Ambient current scope and `Reuse.InWebRequest` for ASP.NET integration.
         - Support for static and instance factory methods in addition to constructor, including support for method parameters injection.
         - Powerful open-generics support including variance, constraints, open-generic factory methods in open-generic classes.
         - Service key of arbitrary type. The only requirement for key type is to implement `GetHashCode` and `Equals`.
         - Resolve as `KeyValuePair` to get service key with service object.
         - Register with condition for resolution.
         - Required service type support: e.g. `var serviceObjects = c.Resolve{object[]}(typeof(Service));`.
         - Optional parameters support.
         - Fine-grained control over injection of parameters, properties, and fields.
         - Injection of primitive values.
         - Control how reused service is stored and disposed via `weaklyReferenced` and `preventDisposal` setups.
         - Resolve service collection as `IList{T}`, `ICollection{T}`, `IReadOnlyList{T}`, `IReadOnlyCollection{T}`.
         - Register once, existing registration update, unregister.
         - removed: Compilation to DynamicAssembly. DryIoc is fast enough without its complexity.

Version History

Version Downloads Last updated
4.0.4 2,017 5/1/2019
4.0.3 2,518 4/10/2019
4.0.2 2,030 3/30/2019
4.0.1 7,276 3/28/2019
4.0.0 10,198 3/4/2019
4.0.0-preview-02 193 2/22/2019
4.0.0-preview-01 2,612 12/1/2018
3.1.0-preview-07 1,905 11/20/2018
3.1.0-preview-06 546 11/7/2018
3.1.0-preview-05 213 10/12/2018
3.1.0-preview-04 341 10/6/2018
3.1.0-preview-03 148 10/5/2018
3.1.0-preview-02 133 10/4/2018
3.1.0-preview-01 175 10/3/2018
3.0.2 144,765 7/11/2018
3.0.1 591 7/7/2018
3.0.0 856 6/24/2018
3.0.0-preview-12 435 6/6/2018
3.0.0-preview-11 1,419 3/17/2018
3.0.0-preview-10 298 3/13/2018
3.0.0-preview-09 356 2/21/2018
3.0.0-preview-08 260 2/12/2018
3.0.0-preview-07 309 2/9/2018
3.0.0-preview-06 235 2/8/2018
3.0.0-preview-05 232 2/5/2018
3.0.0-preview-04 245 2/1/2018
3.0.0-preview-03 1,138 12/3/2017
3.0.0-preview-02 250 11/14/2017
3.0.0-preview-01 586 10/1/2017
2.12.10 47,578 4/11/2018
2.12.8 15,683 3/13/2018
2.12.7 14,506 1/19/2018
2.12.6 54,889 12/21/2017
2.12.5 18,123 10/30/2017
2.12.4 6,331 10/17/2017
2.12.3 3,640 10/2/2017
2.12.2 15,359 9/17/2017
2.12.1 16,491 9/9/2017
2.12.0 1,405 9/1/2017
2.12.0-preview-01 279 8/29/2017
2.11.6 8,363 7/18/2017
2.11.5 1,629 7/12/2017
2.11.4 6,215 6/28/2017
2.11.3 4,695 6/1/2017
2.11.2 253 6/1/2017
2.11.1 474 5/31/2017
2.11.0 363 5/30/2017
2.11.0-preview-02 484 3/15/2017
2.11.0-preview-01 264 3/10/2017
2.10.7 6,126 5/3/2017
2.10.6 33,265 4/20/2017
2.10.4 2,621 3/28/2017
2.10.3 402 3/25/2017
2.10.2 4,215 3/14/2017
2.10.1 16,876 2/18/2017
2.10.0 6,201 2/1/2017
2.9.7 4,471 1/12/2017
2.9.6 747 12/30/2016
2.9.5 506 12/26/2016
2.9.4 1,596 12/10/2016
2.9.3 502 12/8/2016
2.9.2 432 12/3/2016
2.9.1 1,166 11/19/2016
2.9.0 747 11/17/2016
2.8.5 1,012 11/2/2016
2.8.4 485 10/28/2016
2.8.3 4,144 10/20/2016
2.8.2 533 10/20/2016
2.8.1 285 10/19/2016
2.8.0 277 10/18/2016
2.8.0-preview-01 251 10/13/2016
2.7.1 15,280 9/1/2016
2.7.0 3,152 8/19/2016
2.6.4 2,542 7/29/2016
2.6.3 2,425 7/9/2016
2.6.3-netcore-rc2 590 7/9/2016
2.6.2 2,280 6/13/2016
2.6.2-netcore-rc2 439 6/13/2016
2.6.1-netcore-rc2 256 6/10/2016
2.6.0 470 6/10/2016
2.5.1 374 6/7/2016
2.5.0 1,084 5/24/2016
2.4.3 1,237 5/7/2016
2.4.2 511 4/26/2016
2.4.1 1,668 4/16/2016
2.4.0 379 4/14/2016
2.3.0 1,575 3/30/2016
2.2.2 3,896 3/10/2016
2.2.1 322 3/8/2016
2.2.0 723 2/26/2016
2.1.3 993 1/17/2016
2.1.2 401 1/15/2016
2.1.1 566 1/4/2016
2.1.0 1,194 12/4/2015
2.0.2 516 12/1/2015
2.0.1 411 11/27/2015
2.0.0 1,646 11/19/2015
2.0.0-rc4build353 342 11/18/2015
2.0.0-rc4build352 322 11/17/2015
2.0.0-rc4build351 330 11/17/2015
2.0.0-rc4build350 357 11/17/2015
2.0.0-rc4build349 344 11/12/2015
2.0.0-rc4build348 315 11/12/2015
2.0.0-rc4build347 328 11/12/2015
2.0.0-rc4build346 348 11/12/2015
2.0.0-rc4build345 316 11/12/2015
2.0.0-rc4build344 333 11/7/2015
2.0.0-rc4build343 349 11/5/2015
2.0.0-rc4build342 637 11/1/2015
2.0.0-rc4build341 327 10/29/2015
2.0.0-rc4build340 342 11/12/2015
2.0.0-rc4build339 314 11/7/2015
2.0.0-rc4build338 329 11/5/2015
2.0.0-rc4build337 318 11/1/2015
2.0.0-rc4build336 320 10/29/2015
2.0.0-rc3build340 293 10/26/2015
2.0.0-rc3build339 297 10/26/2015
2.0.0-rc3build338 273 10/23/2015
2.0.0-rc3build337 338 10/20/2015
2.0.0-rc3build336 287 10/19/2015
2.0.0-rc3build335 387 10/12/2015
2.0.0-rc3build334 280 10/10/2015
2.0.0-rc3build333 331 10/6/2015
2.0.0-rc3build332 314 10/6/2015
2.0.0-rc3build331 349 10/1/2015
2.0.0-rc3build330 278 10/1/2015
2.0.0-rc3build329 289 9/30/2015
2.0.0-rc3build328 333 9/26/2015
2.0.0-rc3build327 297 9/25/2015
2.0.0-rc3build326 279 9/25/2015
2.0.0-rc3build325 291 9/25/2015
2.0.0-rc3build324 370 9/11/2015
2.0.0-rc3build323 338 9/11/2015
2.0.0-rc3build322 300 9/11/2015
2.0.0-rc3build321 290 9/11/2015
2.0.0-rc3build320 268 9/11/2015
2.0.0-rc3build319 329 9/8/2015
2.0.0-rc3build318 326 9/6/2015
2.0.0-rc3build317 304 9/3/2015
2.0.0-rc3build316 377 9/2/2015
2.0.0-rc3build315 308 8/31/2015
2.0.0-rc3build314 324 9/8/2015
2.0.0-rc3build313 293 8/29/2015
2.0.0-rc3build312 328 8/23/2015
2.0.0-rc3build311 315 8/21/2015
2.0.0-rc3build310 339 8/18/2015
2.0.0-rc3build309 305 8/12/2015
2.0.0-rc3build308 269 8/6/2015
2.0.0-rc3build307 288 8/23/2015
2.0.0-rc3build306 266 8/6/2015
2.0.0-rc3build304 335 8/4/2015
2.0.0-rc3build303 267 8/6/2015
2.0.0-rc3build302 273 8/3/2015
2.0.0-rc3build301 296 7/31/2015
2.0.0-rc3build300 400 7/28/2015
2.0.0-rc3build299 306 7/28/2015
2.0.0-rc3build298 279 7/28/2015
2.0.0-rc3build297 265 7/31/2015
2.0.0-rc2build297 311 7/26/2015
2.0.0-rc2build295 446 7/24/2015
2.0.0-rc2build294 292 7/24/2015
2.0.0-rc2build293 296 7/26/2015
2.0.0-rc2build292 300 7/21/2015
2.0.0-rc2build291 297 7/24/2015
2.0.0-rc2build289 277 7/21/2015
2.0.0-rc1build371 252 1/11/2016
2.0.0-rc1build366 259 1/11/2016
2.0.0-rc1build288 316 7/4/2015
2.0.0-rc1build287 282 6/19/2015
2.0.0-rc1build286 283 6/8/2015
2.0.0-rc1build285 278 6/4/2015
2.0.0-rc1build284 314 6/3/2015
2.0.0-rc1build283 413 6/1/2015
2.0.0-rc1build282 286 5/29/2015
2.0.0-rc1build281 278 5/27/2015
2.0.0-rc1build280 348 5/27/2015
2.0.0-rc1build279 313 5/21/2015
2.0.0-rc1build278 340 5/16/2015
2.0.0-rc1build277 343 5/15/2015
2.0.0-rc1build276 417 5/21/2015
2.0.0-rc1build275 287 5/16/2015
2.0.0-rc1build274 335 5/15/2015
2.0.0-rc1build273 296 5/15/2015
2.0.0-rc1build272 317 5/14/2015
2.0.0-rc1build271 292 5/14/2015
2.0.0-rc1build270 284 5/13/2015
2.0.0-rc1build269 289 5/14/2015
2.0.0-rc1build268 300 5/12/2015
2.0.0-rc1build267 297 5/10/2015
2.0.0-rc1build266 295 5/7/2015
2.0.0-rc1build265 285 5/6/2015
2.0.0-rc1build264 287 5/5/2015
2.0.0-rc1build263 299 5/1/2015
2.0.0-rc1build262 290 4/30/2015
2.0.0-rc1build261 274 4/29/2015
2.0.0-rc1build260 288 4/28/2015
2.0.0-rc1build259 298 4/21/2015
2.0.0-rc1build258 284 4/29/2015
2.0.0-rc1build255 278 4/21/2015
2.0.0-preview256 384 4/15/2015
2.0.0-preview255 296 4/14/2015
2.0.0-preview254 293 4/14/2015
2.0.0-preview253 327 4/13/2015
2.0.0-preview252 339 4/10/2015
2.0.0-preview251 368 4/7/2015
2.0.0-preview250 300 4/6/2015
2.0.0-preview249 338 4/6/2015
2.0.0-preview248 295 4/7/2015
2.0.0-preview247 304 4/6/2015
2.0.0-preview246 353 4/6/2015
2.0.0-preview245 294 4/3/2015
2.0.0-preview244 317 4/3/2015
2.0.0-preview243 292 4/3/2015
2.0.0-preview242 294 4/2/2015
2.0.0-preview241 305 3/31/2015
2.0.0-preview240 288 3/31/2015
2.0.0-preview239 282 3/30/2015
2.0.0-preview238 299 3/30/2015
2.0.0-preview237 309 3/29/2015
2.0.0-preview236 290 3/28/2015
2.0.0-preview235 308 3/27/2015
2.0.0-preview234 309 3/27/2015
2.0.0-preview233 302 3/26/2015
2.0.0-preview232 304 3/26/2015
2.0.0-preview231 311 3/25/2015
2.0.0-preview230 331 3/25/2015
2.0.0-preview229 295 3/25/2015
2.0.0-preview228 322 3/23/2015
2.0.0-preview227 308 3/23/2015
2.0.0-preview226 304 3/19/2015
2.0.0-preview225 328 3/18/2015
2.0.0-preview224 327 3/18/2015
2.0.0-preview223 324 3/18/2015
2.0.0-preview222 299 3/17/2015
2.0.0-preview221 299 3/15/2015
2.0.0-preview220 291 3/14/2015
2.0.0-preview219 286 3/13/2015
2.0.0-preview218 341 3/11/2015
2.0.0-preview217 289 3/10/2015
2.0.0-preview216 304 3/10/2015
2.0.0-preview215 341 3/10/2015
2.0.0-preview214 292 3/10/2015
2.0.0-preview213 296 3/9/2015
2.0.0-preview212 314 3/6/2015
2.0.0-preview211 294 3/4/2015
2.0.0-preview210 348 3/4/2015
2.0.0-preview209 298 3/4/2015
2.0.0-preview208 296 3/3/2015
2.0.0-preview207 288 3/3/2015
2.0.0-preview206 292 3/3/2015
2.0.0-preview205 288 3/2/2015
2.0.0-preview204 298 3/2/2015
2.0.0-preview203 306 2/26/2015
2.0.0-preview202 326 2/25/2015
2.0.0-preview201 303 2/20/2015
2.0.0-preview200 405 2/20/2015
2.0.0-preview199 314 2/20/2015
2.0.0-preview198 340 2/19/2015
2.0.0-preview197 299 2/19/2015
2.0.0-preview196 321 2/19/2015
2.0.0-preview195 304 2/19/2015
2.0.0-preview194 363 2/18/2015
2.0.0-preview193 419 2/18/2015
2.0.0-preview192 363 2/17/2015
2.0.0-preview191 399 2/17/2015
2.0.0-preview190 303 2/17/2015
2.0.0-preview189 330 2/12/2015
2.0.0-preview188 407 2/11/2015
2.0.0-preview187 424 2/11/2015
2.0.0-preview186 331 2/11/2015
2.0.0-preview185 320 2/10/2015
2.0.0-preview184 365 2/10/2015
2.0.0-preview183 395 2/10/2015
2.0.0-preview182 305 2/9/2015
2.0.0-preview181 330 2/2/2015
2.0.0-preview180 323 2/2/2015
2.0.0-preview179 298 1/31/2015
2.0.0-preview178 346 1/30/2015
2.0.0-preview177 354 1/29/2015
2.0.0-preview176 311 1/24/2015
2.0.0-preview175 381 1/24/2015
2.0.0-preview174 361 1/23/2015
2.0.0-preview173 348 1/18/2015
2.0.0-preview172 347 1/19/2015
2.0.0-preview171 337 1/16/2015
2.0.0-preview170 376 1/16/2015
2.0.0-preview169 325 1/16/2015
2.0.0-preview168 304 1/16/2015
2.0.0-preview167 306 1/16/2015
2.0.0-preview166 390 1/15/2015
2.0.0-preview165 387 1/15/2015
2.0.0-preview164 329 1/15/2015
2.0.0-preview163 315 1/15/2015
2.0.0-preview162 341 1/14/2015
2.0.0-preview161 364 1/14/2015
2.0.0-preview160 307 1/14/2015
2.0.0-preview159 385 1/14/2015
2.0.0-preview158 329 1/14/2015
2.0.0-preview157 347 1/14/2015
2.0.0-preview156 335 1/13/2015
2.0.0-preview155 359 1/13/2015
2.0.0-preview154 313 1/12/2015
2.0.0-preview153 318 1/12/2015
2.0.0-preview152 315 1/9/2015
2.0.0-preview151 301 1/9/2015
2.0.0-preview150 308 1/8/2015
2.0.0-preview148 309 1/8/2015
2.0.0-preview147 328 1/3/2015
2.0.0-preview146 309 1/3/2015
2.0.0-preview145 348 12/30/2014
2.0.0-preview144 358 12/29/2014
2.0.0-preview143 370 12/29/2014
2.0.0-preview142 327 12/23/2014
2.0.0-preview141 348 12/23/2014
2.0.0-preview140 323 12/23/2014
2.0.0-preview139 342 12/20/2014
2.0.0-preview138 312 12/20/2014
2.0.0-preview137 310 12/20/2014
2.0.0-preview136 323 12/20/2014
2.0.0-preview135 303 12/20/2014
2.0.0-preview133 309 12/18/2014
2.0.0-preview132 316 12/15/2014
2.0.0-preview131 312 12/14/2014
2.0.0-preview130 381 12/12/2014
2.0.0-preview129 317 12/12/2014
2.0.0-preview128 364 12/11/2014
2.0.0-preview127 317 12/10/2014
2.0.0-preview126 315 12/10/2014
2.0.0-preview125 335 12/8/2014
2.0.0-preview124 315 12/8/2014
2.0.0-preview123 378 12/7/2014
2.0.0-preview119 379 11/24/2014
2.0.0-preview118 443 11/21/2014
2.0.0-preview116 904 11/13/2014
2.0.0-preview115 526 11/6/2014
2.0.0-preview114 737 11/6/2014
2.0.0-preview113 527 11/5/2014
2.0.0-preview112 527 11/5/2014
2.0.0-preview110 781 11/5/2014
2.0.0-preview109 858 11/4/2014
2.0.0-preview108 674 10/31/2014
2.0.0-preview107 919 10/31/2014
2.0.0-preview105 928 10/31/2014
2.0.0-preview104 319 10/29/2014
2.0.0-preview103 315 10/27/2014
2.0.0-preview102 371 10/27/2014
2.0.0-preview101 327 10/24/2014
2.0.0-beta258 302 4/21/2015
2.0.0-beta254 344 4/20/2015
1.4.1 1,858 10/9/2014
1.4.0 622 9/10/2014
1.3.1 442 8/18/2014
1.3.0 465 7/16/2014
1.2.2 468 7/2/2014
1.2.1 349 6/30/2014
1.2.0 549 1/9/2014
1.1.1 435 12/26/2013
1.1.0 380 12/26/2013
1.0.11 385 12/24/2013
Show less