Detailed Description

Represents an instance of a ms unit.

Inheritance diagram for Css.Units.MsUnit:
Css.Units.TimeUnit Css.Units.DecimalUnit Css.CssUnit Css.Value

Public Member Functions

override string ToString ()
 
override void OnValueReady (CssLexer lexer)
 Called after a value has been loaded from the stream. Functions etc get it too. This is used to, for example, map a value to a faster internal representation. More...
 

Protected Member Functions

override Value Clone ()
 Duplicates this value. More...
 
- Protected Member Functions inherited from Css.Units.TimeUnit
override Value Clone ()
 Duplicates this value. More...
 

Properties

override float DisplayNumber [get]
 
override string[] PostText [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Css.Value
static Css.Value Load (string text)
 
- Public Attributes inherited from Css.Units.DecimalUnit
float RawValue
 
- Protected Attributes inherited from Css.Value
ValueType Type_ =ValueType.Null
 The type of value this is. More...
 
- Static Package Attributes inherited from Css.Value
static readonly Value Empty =new Units.DecimalUnit(0)
 Represents an empty value. More...
 

Member Function Documentation

override Value Css.Units.MsUnit.Clone ( )
inlineprotectedvirtual

Duplicates this value.

Returns
A duplicated copy of this value. Note that if this value has inner values, they are copied too.

Reimplemented from Css.Units.DecimalUnit.

override void Css.Units.MsUnit.OnValueReady ( CssLexer  lexer)
inlinevirtual

Called after a value has been loaded from the stream. Functions etc get it too. This is used to, for example, map a value to a faster internal representation.

Reimplemented from Css.Value.

override string Css.Units.MsUnit.ToString ( )
inline

Property Documentation

override float Css.Units.MsUnit.DisplayNumber
get
override string [] Css.Units.MsUnit.PostText
get