Protected Readonly aliasesProtected Readonly bindProtected Optional Readonly configProtected containerProtected Readonly exportsProtected Readonly factoriesProtected Readonly factoriesProtected Readonly importedProtected Readonly importsProtected initializedProtected Readonly parentStatic Readonly __svt_Returns bind manager (aka bind util)
Binds async factory to key
Binds sync factory to key
Returns async entity factory by given key. It will try to find factory from the current module, then from imported modules and finally from global exports. It will also try to resolve sync binding if async binding is not found.
Protected getReturns sync entity factory by given key. It will try to find factory from the current module, then from imported modules and finally from global exports.
Returns true if binding is exported from this module. Also includes sync imports check.
Returns true if binding is exported from this module.
Returns true if async (or sync) binding is imported from other modules.
Module.import
Returns true if sync binding is imported from other modules.
Imports modules into current the current module. All exported bindings (and/or its aliases) will be available in the current module.
Returns resolved entity by given async binding or binding ref. It will try to find binding from the current module, then from imported modules and finally from global exports. It will also try to resolve sync binding if async binding is not found.
Optional options: null | Partial<IInjectOptions>Optional ctx: TProvideContextOptional options: null | Partial<IInjectOptions>Optional ctx: TProvideContextOptional options: null | Partial<IInjectOptions>Optional ctx: TProvideContextReturns resolved entity by given sync binding or binding ref. It will try to find binding from the current module, then from imported modules and finally from global exports.
Optional options: null | Partial<IInjectOptions>Optional ctx: TProvideContextOptional options: null | Partial<IInjectOptions>Optional ctx: TProvideContextOptional options: null | Partial<IInjectOptions>Optional ctx: TProvideContextProtected setup
This module type made specially as proxy module, its receives a parent module and mirrors its bindings as it was bound/imported in current module.
Designed specially for providing module binds/imports to single units with unit-specific data.
For example, it can be used to provide http request data and parent module defined services to the controller class