Register a class as injectable component into the application container.
Each injectable class has a default lifecycle policy which determines if a new class is
instantiated per resolution (transient) or if the same instance is reused across resolutions (singleton).
If no lifecycle policy is specified, the default is singleton.
Register a class as injectable component into the application container. Each injectable class has a default lifecycle policy which determines if a new class is instantiated per resolution (
transient
) or if the same instance is reused across resolutions (singleton
).If no lifecycle policy is specified, the default is
singleton
.