Search
Preparing search index...
The search index is not available
@web-atoms/core
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"di/ServiceCollection"
ServiceCollection
Class ServiceCollection
Hierarchy
ServiceCollection
Index
Properties
instance
Methods
get
register
register
Scoped
register
Singleton
Properties
Static
instance
instance
:
ServiceCollection
= new ServiceCollection()
Methods
get
get
(
type
:
any
)
:
ServiceDescription
Parameters
type:
any
Returns
ServiceDescription
register
register
(
type
:
any
, factory
:
ServiceFactory
, scope
?:
Scope
, id
?:
string
)
:
ServiceDescription
Parameters
type:
any
factory:
ServiceFactory
Default value
scope:
Scope
= Scope.Transient
Optional
id:
string
Returns
ServiceDescription
register
Scoped
register
Scoped
(
type
:
any
, factory
?:
ServiceFactory
, id
?:
string
)
:
ServiceDescription
Parameters
type:
any
Optional
factory:
ServiceFactory
Optional
id:
string
Returns
ServiceDescription
register
Singleton
register
Singleton
(
type
:
any
, factory
?:
ServiceFactory
, id
?:
string
)
:
ServiceDescription
Parameters
type:
any
Optional
factory:
ServiceFactory
Optional
id:
string
Returns
ServiceDescription
Globals
"di/
Service
Collection"
Scope
Service
Collection
instance
get
register
register
Scoped
register
Singleton
Service
Description
Service
Factory
Generated using
TypeDoc