Class DisplayResolutionService

Inheritance
System.Object
DisplayResolutionService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration(typeof(DisplayResolutionService), Lifecycle = ServiceInstanceScope.Singleton)]
[InitializableModule]
public class DisplayResolutionService : IInitializableModule

Constructors

DisplayResolutionService()

Initializes a new instance of the DisplayResolutionService class.

Declaration
public DisplayResolutionService()

Properties

Resolutions

Gets all registered resolutions.

Declaration
public virtual IEnumerable<IDisplayResolution> Resolutions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IDisplayResolution>

Methods

Initialize(InitializationEngine)

Initializes this instance

Declaration
public void Initialize(InitializationEngine context)
Parameters
Type Name Description
InitializationEngine context

The context.

Initialize(ITypeScannerLookup, IServiceLocator)

Initializes a new instance of the DisplayResolutionService class.

Declaration
public virtual void Initialize(ITypeScannerLookup typeScanner, IServiceLocator serviceLocator)
Parameters
Type Name Description
ITypeScannerLookup typeScanner

The type scanner.

IServiceLocator serviceLocator

The service locator.

Uninitialize(InitializationEngine)

Uninitializes the specified context.

Declaration
public void Uninitialize(InitializationEngine context)
Parameters
Type Name Description
InitializationEngine context

The context.

Implements

Extension Methods