An assignment resolver takes dependencies and copies their properties
into the resolution instance using
Object.assign
.Methods
-
assignment(dependencyKeyOrObject)
-
Invoke the specified method as part of resolving the instance on which the method is called, optionally configuring dependencies to be passed as method parameters.
Parameters:
Name Type Description dependencyKeyOrObject
string | object A dependency key of the object with which to assign to the instance being resolved, or the object itself.