createPlatformFactory

Creates a factory for a platform

createPlatformFactory(parentPlatformFactory: (extraProviders?: StaticProvider[]) => PlatformRef, name: string, providers: StaticProvider[] = []): (extraProviders?: StaticProvider[]) => PlatformRef
      
      createPlatformFactory(parentPlatformFactory: (extraProviders?: StaticProvider[]) => PlatformRef, name: string, providers: StaticProvider[] = []): (extraProviders?: StaticProvider[]) => PlatformRef
    
参数
parentPlatformFactory (extraProviders?: StaticProvider[]) => PlatformRef
name string
providers StaticProvider[]

可选. 默认值是 [].

返回值

(extraProviders?: StaticProvider[]) => PlatformRef