angular-docs-cn/modules/angular2/di.ts

24 lines
686 B
TypeScript
Raw Normal View History

/**
* @module
2015-04-15 18:35:38 -04:00
* @public
* @description
2015-04-17 06:29:05 -04:00
* The `di` module provides dependency injection container services.
*/
export * from './src/di/annotations';
export * from './src/di/decorators';
export * from './src/di/forward_ref';
export {resolveBindings, Injector} from './src/di/injector';
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';
export {
NoBindingError,
AbstractBindingError,
AsyncBindingError,
CyclicDependencyError,
InstantiationError,
InvalidBindingError,
NoAnnotationError
} from './src/di/exceptions';
export {OpaqueToken} from './src/di/opaque_token';