Description

Dependency injection framework

Package Information

Version0.1.0 (2016-Aug-11)
Repositoryhttps://github.com/bytecurry/injected
LicenseMIT
CopyrightCopyright © 2016, Thayne McCombs
AuthorsThayne McCombs
Registered byThayne
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

injected

Another dependency injection library for D

Features

  • Support for non-class types (structs, primitives, arrays, pointers, etc) from the ground up
  • Support for named dependencies to disambiguate multiple instances of the same type
  • Support for hierarchical dependency injection containers
  • Multiple methods of providing instances: value, class constructor, and factory function
  • Extensible: users can define custom containers and providers
  • Automatically determine dependencies from constructor, factory function, or annotation at compile time

Available versions

0.1.0 ~master