TESSA Web API
Preparing search index...
Application.DI
DiContext
Class DiContext
Hierarchy (
View Summary
)
ScopeContextBase
DiContext
Index
Constructors
constructor
Properties
di
Container
Accessors
parent
current
current
Container
has
Current
Methods
on
Scope
Dispose
on
Scope
Invoke
create
resolve
try
Resolve
Constructors
constructor
new
DiContext
(
diContainer
:
DiContainer
)
:
DiContext
Parameters
diContainer
:
DiContainer
Returns
DiContext
Properties
Readonly
di
Container
diContainer
:
null
|
DiContainer
= null
Accessors
parent
get
parent
()
:
null
|
DiContext
Returns
null
|
DiContext
Static
current
get
current
()
:
null
|
DiContext
Returns
null
|
DiContext
Static
current
Container
get
currentContainer
()
:
null
|
DiContainer
Returns
null
|
DiContainer
Static
has
Current
get
hasCurrent
()
:
boolean
Returns
boolean
Methods
on
Scope
Dispose
onScopeDispose
(
_scope
:
IScopeInstance
<
ScopeContextBase
>
)
:
void
Parameters
_scope
:
IScopeInstance
<
ScopeContextBase
>
Returns
void
on
Scope
Invoke
onScopeInvoke
(
_scope
:
IScopeInstance
<
ScopeContextBase
>
)
:
void
Parameters
_scope
:
IScopeInstance
<
ScopeContextBase
>
Returns
void
Static
create
create
(
context
:
null
|
DiContext
)
:
IScopeInstance
<
DiContext
>
Parameters
context
:
null
|
DiContext
Returns
IScopeInstance
<
DiContext
>
Static
resolve
resolve
<
D
extends
AnnotationWithCheck
<
unknown
,
Options
>
[]
,
Options
extends
Readonly
<
{
lazy
?:
boolean
;
multi
?:
boolean
;
name
?:
string
;
optional
?:
boolean
;
tags
?:
Record
<
string
|
symbol
,
unknown
>
;
}
,
>
,
>
(
...
tokens
:
D
,
)
:
GetResolvedTypesWithParams
<
D
,
Options
>
Type Parameters
D
extends
AnnotationWithCheck
<
unknown
,
Options
>
[]
Options
extends
Readonly
<
{
lazy
?:
boolean
;
multi
?:
boolean
;
name
?:
string
;
optional
?:
boolean
;
tags
?:
Record
<
string
|
symbol
,
unknown
>
;
}
,
>
Parameters
...
tokens
:
D
Returns
GetResolvedTypesWithParams
<
D
,
Options
>
Static
try
Resolve
tryResolve
<
D
extends
AnnotationWithCheck
<
unknown
,
Options
>
[]
,
Options
extends
Readonly
<
{
lazy
?:
boolean
;
multi
?:
boolean
;
name
?:
string
;
optional
?:
boolean
;
tags
?:
Record
<
string
|
symbol
,
unknown
>
;
}
,
>
,
>
(
...
tokens
:
D
,
)
:
null
|
GetResolvedTypesWithParams
<
D
,
Options
>
Type Parameters
D
extends
AnnotationWithCheck
<
unknown
,
Options
>
[]
Options
extends
Readonly
<
{
lazy
?:
boolean
;
multi
?:
boolean
;
name
?:
string
;
optional
?:
boolean
;
tags
?:
Record
<
string
|
symbol
,
unknown
>
;
}
,
>
Parameters
...
tokens
:
D
Returns
null
|
GetResolvedTypesWithParams
<
D
,
Options
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
di
Container
Accessors
parent
current
current
Container
has
Current
Methods
on
Scope
Dispose
on
Scope
Invoke
create
resolve
try
Resolve
TESSA Web API
Loading...