C# Класс EA.Iws.Domain.ShipmentQuantityUnitConverter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConvertToTarget ( ShipmentQuantityUnits source, ShipmentQuantityUnits target, decimal value, bool throwOnLossOfPrecision = true ) : decimal

Приватные методы

Метод Описание
CubicMetersToLitres ( decimal value ) : decimal
HasMoreThanNDecimalPlaces ( decimal value, int decimalPlaces ) : bool
KilogramsToTonnes ( decimal value ) : decimal
LitresToCubicMeters ( decimal value ) : decimal
TonnesToKilograms ( decimal value ) : decimal
WouldLosePrecision ( decimal value, bool throwOnLossOfPrecision ) : bool

Описание методов

ConvertToTarget() публичный статический Метод

public static ConvertToTarget ( ShipmentQuantityUnits source, ShipmentQuantityUnits target, decimal value, bool throwOnLossOfPrecision = true ) : decimal
source ShipmentQuantityUnits
target ShipmentQuantityUnits
value decimal
throwOnLossOfPrecision bool
Результат decimal