Decorator to inject a stateful dependency into a class property. Automatically manages the state of the property.
Optional
Optional identifier for the service to inject. Defaults to the property name.
Decorator to inject a stateful dependency into a class property. Automatically manages the state of the property.