London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 11.20.7
Syntax
[ServiceConfiguration(typeof(DisplayResolutionService), Lifecycle = ServiceInstanceScope.Singleton)]
public class DisplayResolutionService

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