Skip to main content
Namespace: VM
Assembly: VM.dll
This class is to represent the convert factor.

Inheritance

object ← Unit.ConvertFactor

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

ConvertFactor(Unit, Unit)

Initializes a new instance of the ConvertFactor class

Parameters

unitFrom Unit The unit from. unitTo Unit The unit to.

ConvertFactor(Unit, ConvertFactor)

Initializes a new instance of the ConvertFactor class

Parameters

unitFrom Unit The unit from. factor Unit.ConvertFactor The factor.

Properties

Default

Gets the default convert factor

Property Value

Unit.ConvertFactor

FromUCF

Gets the from UCF.

Property Value

double

ToUCF

Gets the to UCF.

Property Value

double

this[string]

Gets the convert factor by using indexer

Property Value

double

Methods

CalculateShiftingUnit(string, double)

Calculate Shifting Unit.

Parameters

stringType string The unit type value double The value

Returns

double The converted value

Dispose()