Preparing search index...
The search index is not available
Trova Core - v3.43.0
Trova Core
@trova-trip/trova-common
IocHandler
Class IocHandler
Implements
Ioc
Index
Constructors
constructor
Methods
add
Constant
add
Repo
Factory
add
Request
Factory
add
Request
Scope
add
Schema
add
Singleton
Dynamic
Value
add
Singleton
Factory
add
Singleton
Scope
add
Transient
Factory
add
Transient
Scope
get
get
Container
is
Bound
unbind
All
Constructors
constructor
new
IocHandler
(
externalContainer
?:
Container
)
:
IocHandler
Parameters
Optional
externalContainer
:
Container
Returns
IocHandler
Methods
add
Constant
addConstant
<
T
>
(
obj
:
any
,
key
:
symbol
)
:
void
Type Parameters
T
Parameters
obj
:
any
key
:
symbol
Returns
void
add
Repo
Factory
addRepoFactory
<
T
,
K
>
(
factoryKey
:
symbol
,
repoKey
:
symbol
)
:
void
Type Parameters
T
K
Parameters
factoryKey
:
symbol
repoKey
:
symbol
Returns
void
add
Request
Factory
addRequestFactory
<
T
>
(
constructor
:
Newable
<
T
>
,
factoryKey
:
symbol
)
:
void
Type Parameters
T
Parameters
constructor
:
Newable
<
T
>
factoryKey
:
symbol
Returns
void
add
Request
Scope
addRequestScope
<
T
>
(
constructor
:
Newable
<
T
>
,
key
:
symbol
)
:
void
Type Parameters
T
Parameters
constructor
:
Newable
<
T
>
key
:
symbol
Returns
void
add
Schema
addSchema
<
T
>
(
obj
:
any
,
key
:
symbol
)
:
void
Type Parameters
T
Parameters
obj
:
any
key
:
symbol
Returns
void
add
Singleton
Dynamic
Value
addSingletonDynamicValue
<
T
>
(
dynamicValue
:
()
=>
T
,
key
:
symbol
)
:
void
Type Parameters
T
Parameters
dynamicValue
:
()
=>
T
key
:
symbol
Returns
void
add
Singleton
Factory
addSingletonFactory
<
T
>
(
constructor
:
Newable
<
T
>
,
factoryKey
:
symbol
)
:
void
Type Parameters
T
Parameters
constructor
:
Newable
<
T
>
factoryKey
:
symbol
Returns
void
add
Singleton
Scope
addSingletonScope
<
T
>
(
constructor
:
Newable
<
T
>
,
key
:
symbol
)
:
void
Type Parameters
T
Parameters
constructor
:
Newable
<
T
>
key
:
symbol
Returns
void
add
Transient
Factory
addTransientFactory
<
T
>
(
constructor
:
Newable
<
T
>
,
factoryKey
:
symbol
)
:
void
Type Parameters
T
Parameters
constructor
:
Newable
<
T
>
factoryKey
:
symbol
Returns
void
add
Transient
Scope
addTransientScope
<
T
>
(
constructor
:
Newable
<
T
>
,
key
:
symbol
,
options
?:
IocBindOptions
,
)
:
void
Type Parameters
T
Parameters
constructor
:
Newable
<
T
>
key
:
symbol
Optional
options
:
IocBindOptions
Returns
void
get
get
<
T
>
(
key
:
symbol
)
:
T
Type Parameters
T
Parameters
key
:
symbol
Returns
T
get
Container
getContainer
()
:
Container
Returns
Container
is
Bound
isBound
(
key
:
symbol
)
:
boolean
Parameters
key
:
symbol
Returns
boolean
unbind
All
unbindAll
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Constant
add
Repo
Factory
add
Request
Factory
add
Request
Scope
add
Schema
add
Singleton
Dynamic
Value
add
Singleton
Factory
add
Singleton
Scope
add
Transient
Factory
add
Transient
Scope
get
get
Container
is
Bound
unbind
All
Trova Core - v3.43.0
Loading...