Enum ServiceInstanceScope
Scope of service instances.
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 10.10.4Syntax
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 |