DependencyToken - Andrei15193/react-model-view-viewmodel GitHub Wiki
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:213
.
- 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>