填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

ModuleWithComponentFactories

NgModuleFactory 和一些 ComponentFactory 的组合。

Combination of NgModuleFactory and ComponentFactories.

      
      class ModuleWithComponentFactories<T> {
  constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[])
  ngModuleFactory: NgModuleFactory<T>
  componentFactories: ComponentFactory<any>[]
}
    

构造函数

      
      constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[])
    
参数
ngModuleFactory NgModuleFactory
componentFactories ComponentFactory[]

属性

属性说明
ngModuleFactory: NgModuleFactory<T>声明在构造函数中
componentFactories: ComponentFactory<any>[]声明在构造函数中