The type of value that this binding holds.
Create a new instance of Binding.
The type of value that this binding holds.
Optionalvalue: V
The value to be held by the binding.
ProtectedresolvedWhether the value has been resolved at least once.
Tracked explicitly (not inferred from value !== undefined) so a binding whose resolved
value is legitimately undefined is still considered resolved — preserving the singleton
guarantee and avoiding repeated resolver side effects.
Protected OptionalvalueThe value held by the binding.
This value is resolved at runtime, either directly or through a resolver function.
ProtectedisCheck if the value has been resolved.
A boolean indicating whether the value has been resolved.
Resolve and return the value of the binding.
Container to resolve dependencies (not used in this implementation).
The resolved value of the binding.
Class representing an Instance.
This class extends the Binding class and directly holds an instance value. It provides a straightforward resolution mechanism that simply returns the stored value.
Author
Mr. Stone evensstone@gmail.com