InjectionMap 1.2.0

InjectionMap is a very small and lightweight IoC/DI container for .NET. InjectionMap allows loose coupling betweeen interfaces and implementations. Compared to other containers that are lightweight, this one really is.

- InjectionMap uses type mapping to reference the key/reference and the implementation.
- Instances are resolved using reflection or can be provided through a callback whitch allows you to create the instance in your own code.
- It suports a fluent syntax to help keep the code simple, small and clean.
- Constructors can be marked with attributes.
- Parameters for constructors can be injected or passed when mapping.
- InjectionMap is very simple and straightforward.

There is a newer version of this package available.
See the version list below for details.
Install-Package InjectionMap -Version 1.2.0
dotnet add package InjectionMap --version 1.2.0
<PackageReference Include="InjectionMap" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add InjectionMap --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: InjectionMap, 1.2.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 InjectionMap as a Cake Addin
#addin nuget:?package=InjectionMap&version=1.2.0

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

Release Notes

- Refactored namespace from WickedFlame.InjectionMap to InjectionMap
- Renamed IInjectionMapping.Register to IInjectionMapping.InitializeMap

Dependencies

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on InjectionMap:

Package Downloads
InjectionMap.Configuration
InjectionMap.Configuration is a small extension to InjectionMap for defining mappings in the application configuration file.
InjectionMap.Wpf
InjectionMap is a small extension to InjectionMap for WPF Applications. This extension allows viewmodels to be injected into the DataContext of a View (FrameworkElement).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.5.6 970 10/14/2015
1.5.6-RC02 547 4/28/2015
1.5.5 857 1/22/2015
1.5.5-RC9 612 12/22/2014
1.5.5-RC8 606 12/22/2014
1.5.5-RC7 582 12/17/2014
1.5.5-RC6 601 12/16/2014
1.5.5-RC10 570 12/26/2014
1.5.4 1,240 11/4/2014
1.5.3 1,211 11/4/2014
1.5.2 1,202 11/4/2014
1.5.2-RC1 823 11/4/2014
1.5.1 728 10/13/2014
1.5.0 728 10/13/2014
1.5.0-RC1 604 10/13/2014
1.4.8 765 9/3/2014
1.4.7 779 9/2/2014
1.4.7-RC3 606 9/3/2014
1.4.7-RC2 617 9/3/2014
1.4.6 794 8/24/2014
1.4.5 768 8/18/2014
1.4.4 743 7/18/2014
1.4.3 795 5/29/2014
1.4.2 756 5/26/2014
1.4.1 740 5/20/2014
1.3.7 762 5/10/2014
1.3.5 757 5/1/2014
1.3.1 765 4/30/2014
1.2.1 789 4/29/2014
1.2.0 761 4/27/2014
1.1.0 748 4/26/2014
1.0.0 788 4/26/2014
Show less