Class decorator that registers the decorated type with the Container scope.
Use this scope when you want one cached instance per container, with parent-container lookup fallback.
Example:
@ContainerScoped()class Wizard { // ...} Copy
@ContainerScoped()class Wizard { // ...}
Class decorator that registers the decorated type with the Container scope.
Use this scope when you want one cached instance per container, with parent-container lookup fallback.
Example: