示例#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();
 }