ts-lambda-api - v2.5.2
Preparing search index...
<internal>
Container
Class Container
Index
Constructors
constructor
Methods
bind
get
get
All
get
All
Async
get
Async
is
Bound
is
Current
Bound
load
load
Sync
on
Activation
on
Deactivation
rebind
rebind
Sync
register
restore
snapshot
unbind
unbind
All
unbind
Sync
unload
unload
Sync
Constructors
constructor
new
Container
(
options
?:
ContainerOptions
)
:
Container
Parameters
Optional
options
:
ContainerOptions
Returns
Container
Methods
bind
bind
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
)
:
BindToFluentSyntax
<
T
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Returns
BindToFluentSyntax
<
T
>
get
get
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
options
:
OptionalGetOptions
)
:
T
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
options
:
OptionalGetOptions
Returns
T
get
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
options
?:
GetOptions
)
:
T
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Optional
options
:
GetOptions
Returns
T
get
All
getAll
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
options
?:
GetAllOptions
)
:
T
[]
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Optional
options
:
GetAllOptions
Returns
T
[]
get
All
Async
getAllAsync
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
options
?:
GetAllOptions
,
)
:
Promise
<
T
[]
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Optional
options
:
GetAllOptions
Returns
Promise
<
T
[]
>
get
Async
getAsync
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
options
:
OptionalGetOptions
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
options
:
OptionalGetOptions
Returns
Promise
<
T
>
getAsync
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
options
?:
GetOptions
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Optional
options
:
GetOptions
Returns
Promise
<
T
>
is
Bound
isBound
(
serviceIdentifier
:
ServiceIdentifier
,
options
?:
IsBoundOptions
)
:
boolean
Parameters
serviceIdentifier
:
ServiceIdentifier
Optional
options
:
IsBoundOptions
Returns
boolean
is
Current
Bound
isCurrentBound
(
serviceIdentifier
:
ServiceIdentifier
,
options
?:
IsBoundOptions
,
)
:
boolean
Parameters
serviceIdentifier
:
ServiceIdentifier
Optional
options
:
IsBoundOptions
Returns
boolean
load
load
(
...
modules
:
ContainerModule
[]
)
:
Promise
<
void
>
Parameters
...
modules
:
ContainerModule
[]
Returns
Promise
<
void
>
load
Sync
loadSync
(
...
modules
:
ContainerModule
[]
)
:
void
Parameters
...
modules
:
ContainerModule
[]
Returns
void
on
Activation
onActivation
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
activation
:
BindingActivation
<
T
>
,
)
:
void
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
activation
:
BindingActivation
<
T
>
Returns
void
on
Deactivation
onDeactivation
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
deactivation
:
BindingDeactivation
<
T
>
,
)
:
void
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
deactivation
:
BindingDeactivation
<
T
>
Returns
void
rebind
rebind
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
)
:
Promise
<
BindToFluentSyntax
<
T
>
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Returns
Promise
<
BindToFluentSyntax
<
T
>
>
rebind
Sync
rebindSync
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
)
:
BindToFluentSyntax
<
T
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Returns
BindToFluentSyntax
<
T
>
register
register
(
pluginConstructor
:
Newable
)
:
void
Parameters
pluginConstructor
:
Newable
Returns
void
restore
restore
()
:
void
Returns
void
snapshot
snapshot
()
:
void
Returns
void
unbind
unbind
(
identifier
:
ServiceIdentifier
|
BindingIdentifier
)
:
Promise
<
void
>
Parameters
identifier
:
ServiceIdentifier
|
BindingIdentifier
Returns
Promise
<
void
>
unbind
All
unbindAll
()
:
Promise
<
void
>
Returns
Promise
<
void
>
unbind
Sync
unbindSync
(
identifier
:
ServiceIdentifier
|
BindingIdentifier
)
:
void
Parameters
identifier
:
ServiceIdentifier
|
BindingIdentifier
Returns
void
unload
unload
(
...
modules
:
ContainerModule
[]
)
:
Promise
<
void
>
Parameters
...
modules
:
ContainerModule
[]
Returns
Promise
<
void
>
unload
Sync
unloadSync
(
...
modules
:
ContainerModule
[]
)
:
void
Parameters
...
modules
:
ContainerModule
[]
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
bind
get
get
All
get
All
Async
get
Async
is
Bound
is
Current
Bound
load
load
Sync
on
Activation
on
Deactivation
rebind
rebind
Sync
register
restore
snapshot
unbind
unbind
All
unbind
Sync
unload
unload
Sync
ts-lambda-api - v2.5.2
Loading...