A simple registry that maps Components to generated ComponentFactory classes that can be used to create instances of components. Use to obtain the factory for a given component type, then use the factory's create() method to create a component of that type.
静态属性
| 属性 | 说明 |
|---|
static NULL: ComponentFactoryResolver | |
方法
resolveComponentFactory() |
|---|
Retrieves the factory object that creates a component of the given type. |
abstract resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>
abstract resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>
参数 component | Type | The component type. |
返回值ComponentFactory<T>
|