Scope
enum Scope {
DEFAULT
TRANSIENT
REQUEST
}
Members
Member | Description |
---|---|
DEFAULT
|
The provider can be shared across multiple classes. The provider lifetime is strictly tied to the application lifecycle. Once the application has bootstrapped, all providers have been instantiated. |
TRANSIENT
|
A new private instance of the provider is instantiated for every use |
REQUEST
|
A new instance is instantiated for each request processing pipeline |