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

15 lines
647 B
JavaScript
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 {Inject, InjectPromise, InjectLazy, Injectable, Optional, DependencyAnnotation} from './src/di/annotations';
export {Injector} from './src/di/injector';
export {Binding, ResolvedBinding, Dependency, bind} from './src/di/binding';
export {Key, KeyRegistry} from './src/di/key';
export {KeyMetadataError, NoBindingError, AbstractBindingError, AsyncBindingError, CyclicDependencyError,
InstantiationError, InvalidBindingError, NoAnnotationError} from './src/di/exceptions';
export {OpaqueToken} from './src/di/opaque_token';