C# Class LessCss.StyleDocument

显示文件 Open project: erikvanbrakel/less.net Class Usage Examples

Public Properties

Property Type Description
Rules List

Public Methods

Method Description
AddRule ( StyleRule rule ) : void
AddVariable ( StyleVariable variable ) : void
Equals ( StyleDocument obj ) : bool
Equals ( object obj ) : bool
Evaluate ( ) : StyleDocument
Flatten ( ) : StyleDocument
GetHashCode ( ) : int
Merge ( ) : StyleDocument
Mixin ( ) : StyleDocument
StyleDocument ( ) : System
ToCss ( ) : string

Private Methods

Method Description
GroupRules ( IEnumerable input ) : IEnumerable

Method Details

AddRule() public method

public AddRule ( StyleRule rule ) : void
rule StyleRule
return void

AddVariable() public method

public AddVariable ( StyleVariable variable ) : void
variable StyleVariable
return void

Equals() public method

public Equals ( StyleDocument obj ) : bool
obj StyleDocument
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Evaluate() public method

public Evaluate ( ) : StyleDocument
return StyleDocument

Flatten() public method

public Flatten ( ) : StyleDocument
return StyleDocument

GetHashCode() public method

public GetHashCode ( ) : int
return int

Merge() public method

public Merge ( ) : StyleDocument
return StyleDocument

Mixin() public method

public Mixin ( ) : StyleDocument
return StyleDocument

StyleDocument() public method

public StyleDocument ( ) : System
return System

ToCss() public method

public ToCss ( ) : string
return string

Property Details

Rules public_oe property

public List Rules
return List