DepMan has a very simple interface; Init(), Get<TInterface>, Register<TInterface,TImplementor> DepMan supports two patterns: the ImplementsAttribute->Init->Get pattern, and the Register->Get pattern. You don't need to use the Register method if you decorate the implementing class with the [Implements(..)] attribute and call the Init() method at some point. DepMan creates only one instance of any class registered by default, which ensures that memory isn't wasted on multiple instances. The Get method performs a fast lookup and returns the an instance of 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.
Deprecated Package Version
Reason: Legacy
Install
| Product | Versions |
|---|---|
| .NET Standard |
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.