Пример #1
0
 public UnitDimension(UnitSystemUnitDimension unitDimension, CultureInfo culture)
 {
     var name = GetName(unitDimension.Name, culture);
     
     DomainID = unitDimension.domainID;
     Name = name != null ? name.Value : null;
     Units = GetUnitsOfMeasure(unitDimension.Items);
     CompositeEquivalents = GetCompositeConversionFactors(unitDimension.Items);
 }
Пример #2
0
 public UnitDimension(UnitSystemUnitDimension unitDimension)
     : this(unitDimension, CultureInfo.CurrentUICulture)
 {
     
 }
Пример #3
0
 public void Setup()
 {
     _unitDimension = new UnitSystemUnitDimension();
 }