Skip to main content

Enumeration: Scope

Defines the lifetime scopes for injectable providers in the Aurora DI container.

Enumeration Members​

SINGLETON​

SINGLETON: 0

A single shared instance is created once and reused for all injections.


TRANSIENT​

TRANSIENT: 1

A new instance is created every time the provider is injected.