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,
|
|
|
|
SelfMetadata,
|
2015-07-29 14:26:09 -04:00
|
|
|
HostMetadata,
|
|
|
|
SkipSelfMetadata,
|
|
|
|
DependencyMetadata
|
2015-08-20 17:28:25 -04:00
|
|
|
} from './src/core/di/metadata';
|
2015-07-08 15:04:24 -04:00
|
|
|
|
|
|
|
// we have to reexport * because Dart and TS export two different sets of types
|
2015-08-20 17:28:25 -04:00
|
|
|
export * from './src/core/di/decorators';
|
2015-06-19 19:33:49 -04:00
|
|
|
|
2015-08-20 17:28:25 -04:00
|
|
|
export {forwardRef, resolveForwardRef, ForwardRefFn} from './src/core/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-08-11 01:45:56 -04:00
|
|
|
Visibility,
|
2015-08-11 00:42:47 -04:00
|
|
|
UNDEFINED
|
2015-08-20 17:28:25 -04:00
|
|
|
} from './src/core/di/injector';
|
2015-09-03 11:14:51 -04:00
|
|
|
export {
|
|
|
|
Binding,
|
|
|
|
BindingBuilder,
|
|
|
|
ResolvedBinding,
|
|
|
|
ResolvedFactory,
|
|
|
|
Dependency,
|
|
|
|
bind
|
|
|
|
} from './src/core/di/binding';
|
2015-08-20 17:28:25 -04:00
|
|
|
export {Key, KeyRegistry, TypeLiteral} from './src/core/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-08-20 17:28:25 -04:00
|
|
|
} from './src/core/di/exceptions';
|
|
|
|
export {OpaqueToken} from './src/core/di/opaque_token';
|