Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DependenciesScanner

Hierarchy

  • DependenciesScanner

Index

Constructors

constructor

Properties

Private applicationConfig

applicationConfig: ApplicationConfig

Private applicationProvidersApplyMap

applicationProvidersApplyMap: ApplicationProviderWrapper[] = []

Private container

container: NestContainer

Private metadataScanner

metadataScanner: MetadataScanner

Methods

applyApplicationProviders

  • applyApplicationProviders(): void

getApplyProvidersMap

  • getApplyProvidersMap(): object

insertController

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>

insertInjectable

insertModule

  • insertModule(module: any, scope: Type<any>[]): Promise<Module>

insertProvider

  • insertProvider(provider: Provider, token: string): string

isCustomProvider

  • isCustomProvider(provider: Provider): boolean

isDynamicModule

isForwardReference

reflectControllers

  • reflectControllers(module: Type<any>, token: string): void

reflectDynamicMetadata

reflectExports

  • reflectExports(module: Type<any>, token: string): void

reflectImports

  • reflectImports(module: Type<any>, token: string, context: string): Promise<void>

reflectInjectables

  • reflectInjectables(component: Type<Injectable>, token: string, metadataKey: string): void

reflectKeyMetadata

  • reflectKeyMetadata(component: Type<Injectable>, key: string, method: string): any

reflectMetadata

  • reflectMetadata(metatype: Type<any>, metadataKey: string): any

reflectParamInjectables

  • reflectParamInjectables(component: Type<Injectable>, token: string, metadataKey: string): void

reflectProviders

  • reflectProviders(module: Type<any>, token: string): void

registerCoreModule

  • registerCoreModule(): Promise<void>

scan

  • scan(module: Type<any>): Promise<void>

scanForModules

scanModulesForDependencies

  • scanModulesForDependencies(): Promise<void>

Generated using TypeDoc