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.
#:package PocketContainer@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code 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 146 6/16/2025
2.0.0 1,196 9/21/2020
1.7.0 2,686 7/10/2018
1.6.3-beta 1,678 12/14/2017
1.6.2-beta 2,164 11/11/2017
1.6.1-beta 874 11/11/2017
1.6.0-beta 929 11/10/2017
1.5.0 1,599 10/31/2017
1.4.5 1,652 10/5/2017
1.4.4 1,293 10/2/2017
1.4.3 1,100 9/29/2017
1.4.2 1,101 9/27/2017
1.4.1 1,102 9/26/2017
1.4.0 1,643 9/26/2017
1.3.3 1,646 8/30/2017
1.3.2 1,799 8/16/2017
1.3.0 1,408 5/26/2017
1.2.8 1,588 10/8/2016
1.2.7 1,761 3/18/2016
1.2.6 1,404 2/9/2016
1.2.5 1,764 1/21/2016
1.2.3 7,045 1/8/2015
1.2.2 2,535 1/6/2015
1.2.0-beta 1,982 12/19/2014
1.1.2 2,750 12/15/2014