Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NestContainer

Hierarchy

  • NestContainer

Index

Constructors

constructor

Properties

Private _applicationConfig

_applicationConfig: ApplicationConfig

Private dynamicModulesMetadata

dynamicModulesMetadata: any = new Map<string,Partial<DynamicModule>>()

Private globalModules

globalModules: any = new Set<Module>()

Private internalCoreModule

internalCoreModule: Module

Private internalProvidersStorage

internalProvidersStorage: InternalProvidersStorage = new InternalProvidersStorage()

Private moduleCompiler

moduleCompiler: ModuleCompiler = new ModuleCompiler()

Private modules

modules: ModulesContainer = new ModulesContainer()

Accessors

applicationConfig

Methods

addController

  • addController(controller: Type<any>, token: string): void

addDynamicMetadata

  • addDynamicMetadata(token: string, dynamicModuleMetadata: Partial<DynamicModule>, scope: Type<any>[]): void

addDynamicModules

  • addDynamicModules(modules: any[], scope: Type<any>[]): void

addExportedProvider

  • addExportedProvider(provider: Type<any>, token: string): void

addGlobalModule

  • addGlobalModule(module: Module): void

addImport

addInjectable

addModule

addProvider

  • addProvider(provider: Type<any>, token: string): string

bindGlobalModuleToModule

  • bindGlobalModuleToModule(target: Module, globalModule: Module): void

bindGlobalScope

  • bindGlobalScope(): void

bindGlobalsToImports

  • bindGlobalsToImports(module: Module): void

clear

  • clear(): void

createCoreModule

getDynamicMetadataByToken

  • getDynamicMetadataByToken(token: string, metadataKey: keyof DynamicModule): any[]

getHttpAdapterRef

  • getHttpAdapterRef(): any

getInternalCoreModuleRef

  • getInternalCoreModuleRef(): Module | undefined

getModuleByKey

  • getModuleByKey(moduleKey: string): Module

getModules

isGlobalModule

  • isGlobalModule(metatype: Type<any>): boolean

registerCoreModuleRef

  • registerCoreModuleRef(moduleRef: Module): void

replace

  • replace(toReplace: any, options: any & object): void

setHttpAdapter

  • setHttpAdapter(httpAdapter: any): void

Generated using TypeDoc