Preparing search index...
The search index is not available
@tarpit/core
@tarpit/core
ValueProvider
Class ValueProvider<M>
Type Parameters
M
Hierarchy
ValueProvider
Implements
Provider
<
M
>
Index
Constructors
constructor
Properties
injector
multi
token
used
value
Methods
create
set_
used
create
set_
value
Constructors
Private
constructor
new
Value
Provider
<
M
>
(
injector
,
token
,
value
,
multi
)
:
ValueProvider
<
M
>
Type Parameters
M
Parameters
injector
:
Injector
token
:
any
value
:
M
multi
:
boolean
Returns
ValueProvider
<
M
>
Properties
Readonly
injector
injector
:
Injector
Private
Readonly
multi
multi
:
boolean
Readonly
token
token
:
any
used
used
:
boolean
= false
Private
value
value
:
any
Methods
create
create
(
)
:
any
Returns
any
set_
used
set_
used
(
)
:
ValueProvider
<
M
>
Returns
ValueProvider
<
M
>
Static
create
create
<
M
>
(
injector
,
def
)
:
ValueProvider
<
M
>
Type Parameters
M
Parameters
injector
:
Injector
def
:
ValueProviderDef
<
any
>
Returns
ValueProvider
<
M
>
Static
set_
value
set_
value
(
provider
,
value
,
multi
)
:
void
Parameters
provider
:
ValueProvider
<
any
>
value
:
any
multi
:
boolean
Returns
void
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