Skip to main content
Any Framework

DepMan has a very simple interface; Get<T>() and Register<TInterface,TImplementor>(); You don't need to use the Register method if you decorate the implementing class with the [Implements(..)] attribute. DepMan creates only one instance of any class registered, which ensures that memory isn't wasted on multiple instances. The Get method performs a very fast lookup (O(1)) and returns the registered class (if any, otherwise throws exception). The 'Implements' attribute can be used to automatically register a class using the interface it implements as key.

Published
Jul 9, 2016
10y ago
Total Downloads
40.7K
40,668

Deprecated Package Version

Reason: Legacy

Install

dotnet add package Rosenbjerg.DepMan --version 1.0.4

No framework information available.

Changes from Previous Version

No structural changes between v1.0.3 and v1.0.4.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

NuGet marks this package as deprecated and points to Microsoft.Extensions.DependencyInjection as an alternative.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.