Enumeration LifecyclePolicy

Enumeration Members

Enumeration Members

singleton: 1

Only a single instance is created and a reference of that instance is kept alive in the container until it is destroyed

transient: 2

Opposite of the singleton Lifecycle; components with this lifecycle do not get registered and will be destroyed once there re no more references to them in memory.