Class DisplayResolutionService
Inheritance
System.Object
DisplayResolutionService
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class DisplayResolutionService : Object
Constructors
DisplayResolutionService()
Initializes a new instance of the Display
Declaration
public DisplayResolutionService()
Properties
Resolutions
Gets all registered resolutions.
Declaration
public virtual IEnumerable<IDisplayResolution> Resolutions { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Add(IDisplayResolution)
Adds a display resolution to the service.
Declaration
public void Add(IDisplayResolution displayResolution)
Parameters
Type | Name | Description |
---|---|---|
IDisplay |
displayResolution |