ResolvedReflectiveFactory

An internal resolved representation of a factory function created by resolving Provider.

class ResolvedReflectiveFactory { constructor(factory: Function, dependencies: ReflectiveDependency[]) factory: Function dependencies: ReflectiveDependency[] }

构造函数

constructor(factory: Function, dependencies: ReflectiveDependency[])

参数

factory

Factory function which can return an instance of an object represented by a key.

dependencies

Arguments (dependencies) to the factory function.

属性

属性名类型说明
factory

Factory function which can return an instance of an object represented by a key.

声明于构造函数中
dependencies

Arguments (dependencies) to the factory function.

声明于构造函数中