Esempio n. 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);
 }
Esempio n. 2
0
 public UnitDimension(UnitSystemUnitDimension unitDimension)
     : this(unitDimension, CultureInfo.CurrentUICulture)
 {
     
 }
Esempio n. 3
0
 public void Setup()
 {
     _unitDimension = new UnitSystemUnitDimension();
 }