-
Notifications
You must be signed in to change notification settings - Fork 2
DependencyToken
API / DependencyToken<T> class
Represents a dependency token for which types, factories or instances can be configured.
This is an abstraction where definitions cannot be configured directly, such as interfaces. Instead binding an interface to an implementation, a dependency token is configured for an implementation.
class DependencyToken<T>
Source reference: src/dependencies/IDependencyResolver.ts:131
.
- T - The type that is associated with the dependency token.
-
constructor - Initializes a new instance of the
DependencyToken<T>
class.
-
readonly
description - Gets the dependency token textual description.
- toString - Gets the string representation of the dependency token.
- DependencyToken<T>
Overview
Motivation
Guides and Tutorials - Getting Started
Releases
CodeSandbox
API
Events
IEvent
IEventHandler
EventDispatcher
ViewModels
INotifyPropertiesChanged
ViewModel
Forms
Form
IFormFieldConfig
FormField
ReadOnlyFormCollection
FormCollection
IConfigurableFormCollection
FormSetupCallback
Validation
IValidator
ValidatorCallback
IObjectValidator
IValidatable
Validation / Triggers
WellKnownValidationTrigger
ValidationTrigger
Observable Collection
ReadOnlyObservableCollection
ObservableCollection
INotifyCollectionChanged
CollectionChangeOperation
INotifyCollectionReordered
CollectionReorderOperation
Observable Map
ReadOnlyObservableMap
ObservableMap
INotifyMapChanged
MapChangeOperation
Observable Set
ReadOnlyObservableSet
ObservableSet
INotifySetChanged
SetChangeOperation
Dependency Handling
IDependencyResolver
IDependencyContainer
DependencyContainer
useDependency
useViewModelDependency
useDependencyResolver
React Hooks
useViewModel
useViewModelMemo
useObservableCollection
useObservableMap
useObservableSet