C# 클래스 LessCss.StyleNumber

Anything composed of a value (double) and a unit of measure
상속: StyleValue
파일 보기 프로젝트 열기: erikvanbrakel/less.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
UnitOfMeasure string
Value decimal

공개 메소드들

메소드 설명
StyleNumber ( decimal value ) : System
StyleNumber ( decimal value, string unitofmeasure ) : System
ToString ( ) : string

보호된 메소드들

메소드 설명
Add ( StyleValue right ) : StyleValue
Div ( StyleValue right ) : StyleValue
Mul ( StyleValue right ) : StyleValue
Sub ( StyleValue right ) : StyleValue

비공개 메소드들

메소드 설명
CanOperateOn ( StyleNumber other ) : bool

메소드 상세

Add() 보호된 메소드

protected Add ( StyleValue right ) : StyleValue
right StyleValue
리턴 StyleValue

Div() 보호된 메소드

protected Div ( StyleValue right ) : StyleValue
right StyleValue
리턴 StyleValue

Mul() 보호된 메소드

protected Mul ( StyleValue right ) : StyleValue
right StyleValue
리턴 StyleValue

StyleNumber() 공개 메소드

public StyleNumber ( decimal value ) : System
value decimal
리턴 System

StyleNumber() 공개 메소드

public StyleNumber ( decimal value, string unitofmeasure ) : System
value decimal
unitofmeasure string
리턴 System

Sub() 보호된 메소드

protected Sub ( StyleValue right ) : StyleValue
right StyleValue
리턴 StyleValue

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

UnitOfMeasure 공개적으로 프로퍼티

public string UnitOfMeasure
리턴 string

Value 공개적으로 프로퍼티

public decimal Value
리턴 decimal