skadi.container.inject

Skadi.d Web Framework

Forked from: https://github.com/mbierlee/poodinis

Public Imports

skadi.container.container
public import skadi.container.container;

Members

Classes

InjectInstantiationContext
class InjectInstantiationContext
Undocumented in source.
InjectedRegistration
class InjectedRegistration(RegistrationType : Object)
Undocumented in source.

Functions

globalInject
void globalInject(Type instance)

Inject the given instance using the globally available dependency container.

inject
void inject(shared(Container) container, Type instance)

Injects members of a given instance using dependencies registered in the given container.

Structs

AssignNewInstance
struct AssignNewInstance

UDA for annotating class members to be injectd with a new instance regardless of their registration scope.

Inject
struct Inject(QualifierType = UseMemberType)

UDA for annotating class members as candidates for Injecting.

UseMemberType
struct UseMemberType
Undocumented in source.

Meta

Authors

Mike Bierlee, Faianca

License

MIT License, see LICENSE