Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
ModuleRegistry
Class ModuleRegistry
Hierarchy
ModuleRegistry
Implements
IModuleRegistry
Index
Constructors
constructor
Properties
_build_
registry
_modules
_options
_scan_
module_
path
paths
Methods
create
Classes
Loader
create
Require
Loader
create
Settings
Loader
get
Cache
get
Modules
get
Options
has
Cache
loader
modules
options
rebuild
Constructors
constructor
new
Module
Registry
(
options
:
IModuleRegistryOptions
)
:
ModuleRegistry
Parameters
options:
IModuleRegistryOptions
Returns
ModuleRegistry
Properties
Private
_build_
registry
_build_
registry
:
any
Private
_modules
_modules
:
any
Private
Readonly
_options
_options
:
any
Private
_scan_
module_
path
_scan_
module_
path
:
any
paths
paths
:
string
[]
Methods
create
Classes
Loader
create
Classes
Loader
(
options
?:
IClassesOptions
)
:
Promise
<
ClassesLoader
>
Parameters
Optional
options:
IClassesOptions
Returns
Promise
<
ClassesLoader
>
create
Require
Loader
create
Require
Loader
(
options
?:
IRequireOptions
)
:
Promise
<
RequireLoader
>
Parameters
Optional
options:
IRequireOptions
Returns
Promise
<
RequireLoader
>
create
Settings
Loader
create
Settings
Loader
(
options
?:
ISettingsOptions
)
:
Promise
<
SettingsLoader
>
Parameters
Optional
options:
ISettingsOptions
Returns
Promise
<
SettingsLoader
>
get
Cache
get
Cache
(
)
:
ICache
Return the cache object
Returns
ICache
get
Modules
get
Modules
(
)
:
ModuleDescriptor
[]
Returns
ModuleDescriptor
[]
get
Options
get
Options
(
)
:
IModuleRegistryOptions
Returns
IModuleRegistryOptions
has
Cache
has
Cache
(
)
:
boolean
Check if cache is present
Returns
boolean
loader
loader<T, OPT>
(
loaderClazz
:
Function
, options
?:
OPT
)
:
Promise
<
T
>
Type parameters
T
:
IModuleLoader
<
any
,
T
>
OPT
Parameters
loaderClazz:
Function
Optional
options:
OPT
Returns
Promise
<
T
>
modules
modules
(
)
:
ModuleDescriptor
[]
Returns
ModuleDescriptor
[]
options
options
(
)
:
IModuleRegistryOptions
Returns
IModuleRegistryOptions
rebuild
rebuild
(
)
:
Promise
<
IModuleRegistry
>
Returns
Promise
<
IModuleRegistry
>
Modules
Activator
Bootstrap
Startup
index
Module
Registry
constructor
_build_
registry
_modules
_options
_scan_
module_
path
paths
create
Classes
Loader
create
Require
Loader
create
Settings
Loader
get
Cache
get
Modules
get
Options
has
Cache
loader
modules
options
rebuild
Generated using
TypeDoc
Return the cache object