An internal resolved representation of a factory function created by resolving Provider
.
构造函数
constructor(factory: Function, dependencies: ReflectiveDependency[])
constructor(factory: Function, dependencies: ReflectiveDependency[])
参数 factory | Function | Factory function which can return an instance of an object represented by a key. | dependencies | ReflectiveDependency[] | Arguments (dependencies) to the factory function. |
|
属性
属性 | 说明 |
---|
factory: Function | Declared in constructor. Factory function which can return an instance of an object represented by a key. |
dependencies: ReflectiveDependency[] | Declared in constructor. Arguments (dependencies) to the factory function. |