angular-cn/modules/@angular/core/src/di.ts

46 lines
1.0 KiB
TypeScript
Raw Normal View History

/**
* @module
* @description
2015-04-17 06:29:05 -04:00
* The `di` module provides dependency injection container services.
*/
export {
InjectMetadata,
OptionalMetadata,
InjectableMetadata,
SelfMetadata,
HostMetadata,
SkipSelfMetadata
} from './di/metadata';
// we have to reexport * because Dart and TS export two different sets of types
export * from './di/decorators';
export {forwardRef, resolveForwardRef, ForwardRefFn} from './di/forward_ref';
export {Injector} from './di/injector';
export {ReflectiveInjector} from './di/reflective_injector';
export {
Binding,
ProviderBuilder,
bind,
Provider,
provide
} from './di/provider';
export {
ResolvedReflectiveBinding,
ResolvedReflectiveFactory,
ResolvedReflectiveProvider
} from './di/reflective_provider';
export {ReflectiveKey} from './di/reflective_key';
export {
NoProviderError,
AbstractProviderError,
CyclicDependencyError,
InstantiationError,
InvalidProviderError,
NoAnnotationError,
OutOfBoundsError
} from './di/reflective_exceptions';
export {OpaqueToken} from './di/opaque_token';