November Happy Hour will be moved to Thursday December 5th.

Class ServiceInstanceScope

Scope of service instances.

Inheritance
System.Object
ServiceInstanceScope
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public sealed class ServiceInstanceScope : Enum

Fields

Scoped

Specifies that a new instance of the service will be created for each scope.

Declaration
public const ServiceInstanceScope Scoped
Field Value
Type Description
ServiceInstanceScope

Singleton

Specifies that a single instance of the service will be created.

Declaration
public const ServiceInstanceScope Singleton
Field Value
Type Description
ServiceInstanceScope

Transient

Specifies that a new instance of the service will be created every time it is requested.

Declaration
public const ServiceInstanceScope Transient
Field Value
Type Description
ServiceInstanceScope

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods