dartin library

Classes

DartIn<T>
A DartIn provides a value on request.
DartIns
DartIns are the container to provide dependencies.
DartInScope
A DartInScope provides a separate type-space for a provider, thus allowing more than one provider of the same type.
Module
Module Definition

Functions

factory<T>(_DartInFunction<T> value, {String scope}) DartIn<T>
Creates a provider that provides a new value using the _DartInFunction for each requestor of the value.
inject<T>({DartInScope scope, List params}) → T
get T from dartIns by T.runtimeType and params
single<T>(_DartInFunction<T> value) DartIn<T>
Creates a provider which will initialize using the _DartInFunction the first time the value is requested.
startDartIn(List<Module> modules) → dynamic
init and load dependencies to DartIns from modules