PocketContainer 2.1.0

dotnet add package PocketContainer --version 2.1.0
                    
NuGet\Install-Package PocketContainer -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PocketContainer" Version="2.1.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PocketContainer" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="PocketContainer">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PocketContainer --version 2.1.0
                    
#r "nuget: PocketContainer, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=PocketContainer&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=PocketContainer&version=2.1.0
                    
Install as a Cake Tool

An embeddable IoC container in a single C# file, with support for extensibility and conventions.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on PocketContainer:

Package Downloads
PocketContainer.OpenGenericStrategy

Enables PocketContainer to resolve open generic types.

PocketContainer.Clone

Adds a Clone method to PocketContainer.

PocketContainer.PrimitiveAvoidanceStrategy

A convention that tells PocketContainer to choose the longest constructor that contains no primitive types (including strings, dates, and numeric types) when resolving instances of an unregistered type.

PocketContainer.AfterCreating

Provides a hook to receive a call each time an instance is created by PocketContainer.

PocketContainer.SingleImplementationStrategy

A convention that will resolve a type when it is the only implementation for a requested interface or abstract type that has not been explicitly registered.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 142 6/16/2025
2.0.0 1,191 9/21/2020
1.7.0 2,671 7/10/2018
1.6.3-beta 1,661 12/14/2017
1.6.2-beta 2,144 11/11/2017
1.6.1-beta 865 11/11/2017
1.6.0-beta 920 11/10/2017
1.5.0 1,587 10/31/2017
1.4.5 1,635 10/5/2017
1.4.4 1,280 10/2/2017
1.4.3 1,091 9/29/2017
1.4.2 1,091 9/27/2017
1.4.1 1,091 9/26/2017
1.4.0 1,634 9/26/2017
1.3.3 1,635 8/30/2017
1.3.2 1,787 8/16/2017
1.3.0 1,397 5/26/2017
1.2.8 1,574 10/8/2016
1.2.7 1,750 3/18/2016
1.2.6 1,391 2/9/2016
1.2.5 1,755 1/21/2016
1.2.3 7,035 1/8/2015
1.2.2 2,524 1/6/2015
1.2.0-beta 1,971 12/19/2014
1.1.2 2,741 12/15/2014