C# 클래스 NMeasure.Converting.UnitGraph

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

공개 메소드들

메소드 설명
AddConversion ( UnitGraphNode from, UnitGraphNode to, decimal>.Func toTo, decimal>.Func toFrom ) : void
AddMeasurementConversion ( UnitGraphNode from, UnitGraphNode to, Measure>.Func toTo, Measure>.Func toFrom ) : void
AddUnit ( Unit unit ) : UnitGraphNode
Convert ( Measure measure, Unit target ) : Measure
GetConverter ( Unit from, Unit to ) : IConversion
this ( Unit unit ) : UnitGraphNode

메소드 상세

AddConversion() 공개 메소드

public AddConversion ( UnitGraphNode from, UnitGraphNode to, decimal>.Func toTo, decimal>.Func toFrom ) : void
from UnitGraphNode
to UnitGraphNode
toTo decimal>.Func
toFrom decimal>.Func
리턴 void

AddMeasurementConversion() 공개 메소드

public AddMeasurementConversion ( UnitGraphNode from, UnitGraphNode to, Measure>.Func toTo, Measure>.Func toFrom ) : void
from UnitGraphNode
to UnitGraphNode
toTo Measure>.Func
toFrom Measure>.Func
리턴 void

AddUnit() 공개 메소드

public AddUnit ( Unit unit ) : UnitGraphNode
unit Unit
리턴 UnitGraphNode

Convert() 공개 메소드

public Convert ( Measure measure, Unit target ) : Measure
measure Measure
target Unit
리턴 Measure

GetConverter() 공개 메소드

public GetConverter ( Unit from, Unit to ) : IConversion
from Unit
to Unit
리턴 IConversion

this() 공개 메소드

public this ( Unit unit ) : UnitGraphNode
unit Unit
리턴 UnitGraphNode