Enum ServiceInstanceScope
Scope of service instances.
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 9.12.2Syntax
public enum ServiceInstanceScope
Fields
Name | Description |
---|---|
HttpContext | New instance per request. |
HttpSession | New instance per http session. |
Hybrid | New instance per thread or request. |
HybridHttpSession | Hybrid instance per session. |
PerRequest | New instance per request. |
Singleton | One instance per container. |
ThreadLocal | One instance per thread. |
Transient | New instance per usage |
Unique | New instance per usage |