W3cubDocs

/Angular 2

ResolvedReflectiveFactory

Experimental Class

Class Overview

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

Class Description

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

Constructor

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

Class Details

factory : Function

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

dependencies : ReflectiveDependency[]

Arguments (dependencies) to the factory function.

exported from @angular/core/index, defined in @angular/core/src/di/reflective_provider.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/ResolvedReflectiveFactory-class.html