C# 클래스 UnitClassLibrary.Unit

파일 보기 프로젝트 열기: ParagonTruss/UnitClassLibrary 1 사용 예제들

공개 메소드들

메소드 설명
ConversionFromThisTo ( IUnitType unit ) : double
Divide ( double divisor ) : Unit
IsNegative ( ) : bool
IsPositive ( ) : bool
MeasurementIn ( IUnitType unitType ) : Measurement
Multiply ( double scalar ) : Unit
ValueIn ( IUnitType unitType ) : double
operator ( ) : Unit
operator ( ) : bool

보호된 메소드들

메소드 설명
_HaveTheSameDimensions ( Unit unit1, Unit unit2 ) : bool
_ValuesAreEqual ( Unit unit1, Unit unit2 ) : bool

메소드 상세

ConversionFromThisTo() 공개 메소드

public ConversionFromThisTo ( IUnitType unit ) : double
unit IUnitType
리턴 double

Divide() 공개 추상적인 메소드

public abstract Divide ( double divisor ) : Unit
divisor double
리턴 Unit

IsNegative() 공개 메소드

public IsNegative ( ) : bool
리턴 bool

IsPositive() 공개 메소드

public IsPositive ( ) : bool
리턴 bool

MeasurementIn() 공개 메소드

public MeasurementIn ( IUnitType unitType ) : Measurement
unitType IUnitType
리턴 Measurement

Multiply() 공개 추상적인 메소드

public abstract Multiply ( double scalar ) : Unit
scalar double
리턴 Unit

ValueIn() 공개 메소드

public ValueIn ( IUnitType unitType ) : double
unitType IUnitType
리턴 double

_HaveTheSameDimensions() 보호된 정적인 메소드

protected static _HaveTheSameDimensions ( Unit unit1, Unit unit2 ) : bool
unit1 Unit
unit2 Unit
리턴 bool

_ValuesAreEqual() 보호된 정적인 메소드

protected static _ValuesAreEqual ( Unit unit1, Unit unit2 ) : bool
unit1 Unit
unit2 Unit
리턴 bool

operator() 공개 정적인 메소드

public static operator ( ) : Unit
리턴 Unit

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool