2015-04-10 06:45:02 -04:00
|
|
|
/**
|
|
|
|
* @module
|
|
|
|
* @description
|
2015-04-17 06:29:05 -04:00
|
|
|
* The `di` module provides dependency injection container services.
|
2015-04-10 06:45:02 -04:00
|
|
|
*/
|
|
|
|
|
2015-06-19 19:33:49 -04:00
|
|
|
export {
|
2015-07-08 15:04:24 -04:00
|
|
|
InjectMetadata,
|
|
|
|
OptionalMetadata,
|
|
|
|
InjectableMetadata,
|
|
|
|
VisibilityMetadata,
|
|
|
|
SelfMetadata,
|
|
|
|
AncestorMetadata,
|
|
|
|
UnboundedMetadata,
|
|
|
|
DependencyMetadata,
|
2015-07-13 18:48:28 -04:00
|
|
|
DEFAULT_VISIBILITY
|
2015-07-08 15:04:24 -04:00
|
|
|
} from './src/di/metadata';
|
|
|
|
|
|
|
|
// we have to reexport * because Dart and TS export two different sets of types
|
|
|
|
export * from './src/di/decorators';
|
2015-06-19 19:33:49 -04:00
|
|
|
|
|
|
|
export {forwardRef, resolveForwardRef, ForwardRefFn} from './src/di/forward_ref';
|
2015-06-26 18:59:18 -04:00
|
|
|
export {
|
|
|
|
Injector,
|
|
|
|
ProtoInjector,
|
2015-07-13 18:57:06 -04:00
|
|
|
BindingWithVisibility,
|
2015-07-06 13:38:12 -04:00
|
|
|
DependencyProvider,
|
2015-06-26 18:59:18 -04:00
|
|
|
PUBLIC_AND_PRIVATE,
|
|
|
|
PUBLIC,
|
|
|
|
PRIVATE,
|
2015-06-29 14:15:49 -04:00
|
|
|
undefinedValue
|
2015-06-26 18:59:18 -04:00
|
|
|
} from './src/di/injector';
|
2015-05-22 16:16:36 -04:00
|
|
|
export {Binding, BindingBuilder, ResolvedBinding, Dependency, bind} from './src/di/binding';
|
2015-05-08 20:57:03 -04:00
|
|
|
export {Key, KeyRegistry, TypeLiteral} from './src/di/key';
|
2015-04-24 18:19:11 -04:00
|
|
|
export {
|
|
|
|
NoBindingError,
|
|
|
|
AbstractBindingError,
|
|
|
|
CyclicDependencyError,
|
|
|
|
InstantiationError,
|
|
|
|
InvalidBindingError,
|
2015-06-26 18:59:18 -04:00
|
|
|
NoAnnotationError,
|
|
|
|
OutOfBoundsError
|
2015-04-24 18:19:11 -04:00
|
|
|
} from './src/di/exceptions';
|
2015-02-05 16:08:05 -05:00
|
|
|
export {OpaqueToken} from './src/di/opaque_token';
|