Preparing search index...
The search index is not available
@tarpit/core
@tarpit/core
ClassProvider
Class ClassProvider<M>
Type Parameters
M
extends
object
Hierarchy
ClassProvider
Implements
Provider
<
M
>
Index
Constructors
constructor
Properties
cls
injector
resolved?
token
used
Methods
_get_
instance
create
set_
used
create
Constructors
Private
constructor
new
Class
Provider
<
M
>
(
injector
,
token
,
cls
)
:
ClassProvider
<
M
>
Type Parameters
M
extends
object
Parameters
injector
:
Injector
token
:
any
cls
:
Constructor
<
M
>
Returns
ClassProvider
<
M
>
Properties
Private
cls
cls
:
Constructor
<
M
>
Readonly
injector
injector
:
Injector
Optional
resolved
resolved
?:
M
Readonly
token
token
:
any
used
used
:
boolean
= false
Methods
Private
_get_
instance
_get_
instance
(
parents
)
:
M
Parameters
parents
:
ParentDesc
[]
Returns
M
create
create
(
parents
?
)
:
M
Parameters
Optional
parents
:
ParentDesc
[]
Returns
M
set_
used
set_
used
(
)
:
ClassProvider
<
M
>
Returns
ClassProvider
<
M
>
Static
create
create
<
M
>
(
injector
,
def
)
:
ClassProvider
<
M
>
Type Parameters
M
extends
object
Parameters
injector
:
Injector
def
:
ClassProviderDef
<
M
>
Returns
ClassProvider
<
M
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
src
annotations
debug.ts
Debug
Debug
disabled.ts
Disabled
Disabled
inject.ts
Inject
Inject
on-terminate.ts
OnTerminate
OnTerminate
optional.ts
Optional
Optional
tp-base.ts
TpAssembly
TpComponent
TpComponentProps
TpEntry
TpUnit
TpWorker
TpAssembly
TpComponent
TpEntry
TpUnit
TpWorker
tp-module.ts
TpModule
TpModule
tp-root.ts
TpRoot
TpRoot
tp-service.ts
TpService
TpService
di
class-provider.ts
ClassProvider
factory-provider.ts
FactoryProvider
injector.ts
Injector
value-provider.ts
ValueProvider
builtin
tp-config-data.ts
TpConfigData
tp-inspector.ts
TpInspector
tp-loader.ts
TpLoader
TpLoaderType
tp-logger.ts
TpLogger
tp-thread.ts
TpThread
tp-thread-strategy.ts
TpThreadStrategy
error
tp-error.ts
TpError
TpErrorDescription
throw_native_error
types
provider.ts
ClassProviderDef
FactoryProviderDef
Provider
ProviderTreeNode
ValueProviderDef
ParentDesc
ProviderDef
options.ts
ImportsAndProviders
TpModuleOptions
TpRootOptions
TpServiceOptions
TpBaseOptions
injector.ts
InjectorEventEmitter
InjectorType
TpEventCollector
TpEvent
base.ts
TpConfigSchema
AbstractConstructor
Constructor
KeyOfFilterType
PureJSON
tools
decorator.ts
DecoratorFactory
AbstractDecoratorFactory
DecoratorInnerField
MixDecorator
TarpitId
get_all_prop_decorator
get_class_decorator
get_class_parameter_decorator
get_method_parameter_decorator
get_param_types
get_prop_decorator
get_prop_types
make_abstract_decorator
make_decorator
get-providers.ts
get_providers
platform.ts
Platform
Generated using
TypeDoc