Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CssDocument

Object representing the CSS

Inheritance
System.Object
CssDocument
Inherited Members
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.CssParsing
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public class CssDocument : IRuleSetContainer

Constructors

CssDocument()

Declaration
public CssDocument()

Properties

Directives

Gets or sets the directives.

Declaration
public IList<Directive> Directives { get; }
Property Value
Type Description
System.Collections.Generic.IList<Directive>

The directives.

RuleSets

Gets rule sets

Declaration
public IList<RuleSet> RuleSets { get; }
Property Value
Type Description
System.Collections.Generic.IList<RuleSet>

Methods

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents this instance.

Overrides
System.Object.ToString()