public ScalarUnitOfMeasure(UnitSystemUnitDimensionUnitDimensionRepresentationUnitOfMeasure unitOfMeasure, UnitDimension unitDimension, CultureInfo culture)
        {
            var name = GetName(unitOfMeasure.Name, culture);

            Label = unitOfMeasure.Name != null ? name.label : null;
            LabelPlural = unitOfMeasure.Name != null ? name.plural : null;
            DomainID = unitOfMeasure.domainID;
            UomId = unitOfMeasure.uomID;
            BaseOffset = unitOfMeasure.baseOffset;
            Scale = unitOfMeasure.scale;
            UnitDimension = unitDimension;
        }
 public void Setup()
 {
     _unitDimension = new UnitDimension(new UnitSystemUnitDimension());
     _unitOfMeasure = new UnitSystemUnitDimensionUnitDimensionRepresentationUnitOfMeasure();
 }
 public ScalarUnitOfMeasure(UnitSystemUnitDimensionUnitDimensionRepresentationUnitOfMeasure unitOfMeasure, UnitDimension unitDimension) 
     : this(unitOfMeasure, unitDimension, CultureInfo.CurrentUICulture)
 {
 }