Class DependenciesScanner
Properties
Private applicationConfig
Private applicationProvidersApplyMap
Methods
applyApplicationProviders
- applyApplicationProviders(): void
getApplyProvidersMap
- getApplyProvidersMap(): object
insertExportedProvider
- insertExportedProvider(exportedProvider: Type<Injectable>, token: string): void
insertImport
- insertImport(related: any, token: string, context: string): Promise<void>
-
Parameters
-
related: any
-
token: string
-
context: string
Returns Promise<void>
insertModule
- insertModule(module: any, scope: Type<any>[]): Promise<Module>
-
Parameters
-
module: any
-
scope: Type<any>[]
Returns Promise<Module>
insertProvider
- insertProvider(provider: Provider, token: string): string
-
Parameters
Returns string
isCustomProvider
- isCustomProvider(provider: Provider): boolean
-
Parameters
Returns boolean
isDynamicModule
-
Parameters
Returns boolean
isForwardReference
-
Parameters
Returns boolean
reflectControllers
- reflectControllers(module: Type<any>, token: string): void
-
Parameters
-
module: Type<any>
-
token: string
Returns void
reflectExports
- reflectExports(module: Type<any>, token: string): void
-
Parameters
-
module: Type<any>
-
token: string
Returns void
reflectImports
- reflectImports(module: Type<any>, token: string, context: string): Promise<void>
-
Parameters
-
module: Type<any>
-
token: string
-
context: string
Returns Promise<void>
reflectInjectables
- reflectInjectables(component: Type<Injectable>, token: string, metadataKey: string): void
-
Parameters
-
-
token: string
-
metadataKey: string
Returns void
reflectKeyMetadata
- reflectKeyMetadata(component: Type<Injectable>, key: string, method: string): any
-
Parameters
-
-
key: string
-
method: string
Returns any
reflectMetadata
- reflectMetadata(metatype: Type<any>, metadataKey: string): any
-
Parameters
-
metatype: Type<any>
-
metadataKey: string
Returns any
reflectParamInjectables
- reflectParamInjectables(component: Type<Injectable>, token: string, metadataKey: string): void
-
Parameters
-
-
token: string
-
metadataKey: string
Returns void
reflectProviders
- reflectProviders(module: Type<any>, token: string): void
-
Parameters
-
module: Type<any>
-
token: string
Returns void
registerCoreModule
- registerCoreModule(): Promise<void>
scan
- scan(module: Type<any>): Promise<void>
-
Parameters
Returns Promise<void>
scanForModules
-
Parameters
-
-
Default value scope: Type<any>[] = []
-
Default value ctxRegistry: any[] = []
Returns Promise<Module>
scanModulesForDependencies
- scanModulesForDependencies(): Promise<void>