SaaS CMS has officially launched! Learn more now.

Class DisplayResolutionService

Inheritance
System.Object
DisplayResolutionService
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class DisplayResolutionService : Object

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

Add(IDisplayResolution)

Adds a display resolution to the service.

Declaration
public void Add(IDisplayResolution displayResolution)
Parameters
Type Name Description
IDisplayResolution displayResolution

Extension Methods