ZenObjectRefExtension<T> extension
Extension for any object to be registered in the DI container
- on
-
- T
Methods
-
asRef(
{String? tag, bool? isPermanent, ZenScope? scope}) → EagerRef< T> -
Available on T, provided by the ZenObjectRefExtension extension
Create a reference to this instance -
put(
{String? tag, bool? isPermanent, ZenScope? scope}) → T -
Available on T, provided by the ZenObjectRefExtension extension
Register this instance in the DI container