ts-lambda-api - v2.5.5
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
Async
on
Activation
on
Deactivation
rebind
rebind
Async
register
restore
snapshot
unbind
unbind
All
unbind
All
Async
unbind
Async
unload
unload
Async
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
[]
)
:
void
Parameters
...
modules
:
ContainerModule
[]
Returns
void
load
Async
loadAsync
(
...
modules
:
ContainerModule
[]
)
:
Promise
<
void
>
Parameters
...
modules
:
ContainerModule
[]
Returns
Promise
<
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
>
)
:
BindToFluentSyntax
<
T
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Returns
BindToFluentSyntax
<
T
>
rebind
Async
rebindAsync
<
T
>
(
serviceIdentifier
:
ServiceIdentifier
<
T
>
,
)
:
Promise
<
BindToFluentSyntax
<
T
>
>
Type Parameters
T
Parameters
serviceIdentifier
:
ServiceIdentifier
<
T
>
Returns
Promise
<
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
)
:
void
Parameters
identifier
:
ServiceIdentifier
|
BindingIdentifier
Returns
void
unbind
All
unbindAll
()
:
void
Returns
void
unbind
All
Async
unbindAllAsync
()
:
Promise
<
void
>
Returns
Promise
<
void
>
unbind
Async
unbindAsync
(
identifier
:
ServiceIdentifier
|
BindingIdentifier
)
:
Promise
<
void
>
Parameters
identifier
:
ServiceIdentifier
|
BindingIdentifier
Returns
Promise
<
void
>
unload
unload
(
...
modules
:
ContainerModule
[]
)
:
void
Parameters
...
modules
:
ContainerModule
[]
Returns
void
unload
Async
unloadAsync
(
...
modules
:
ContainerModule
[]
)
:
Promise
<
void
>
Parameters
...
modules
:
ContainerModule
[]
Returns
Promise
<
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
Async
on
Activation
on
Deactivation
rebind
rebind
Async
register
restore
snapshot
unbind
unbind
All
unbind
All
Async
unbind
Async
unload
unload
Async
ts-lambda-api - v2.5.5
Loading...