Class RuleSet

Object that representing a single style

Inheritance
System.Object
RuleSet
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 RuleSet : IDeclarationContainer

Constructors

RuleSet()

Declaration
public RuleSet()

Properties

Declarations

gets declarations (content inside brackets) for the current CSS style

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

Selectors

Gets the CSS selectors for current style.

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

The selectors.

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()

ToString(Int32)

Returns a System.String that represents this instance.

Declaration
public string ToString(int nesting)
Parameters
Type Name Description
System.Int32 nesting

The nesting level.

Returns
Type Description
System.String

A System.String that represents this instance.