diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Acceleration.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Acceleration.WindowsRuntimeComponent.g.cs
index 683d1e5f9f..94443bd88f 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Acceleration.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Acceleration.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Acceleration(double numericValue, AccelerationUnit unit)
///
/// The base unit of Acceleration, which is MeterPerSecondSquared. All conversions go via this value.
///
- public static AccelerationUnit BaseUnit => AccelerationUnit.MeterPerSecondSquared;
+ public static AccelerationUnit BaseUnit { get; } = AccelerationUnit.MeterPerSecondSquared;
///
/// Represents the largest possible value of Acceleration
///
- public static Acceleration MaxValue => new Acceleration(double.MaxValue, BaseUnit);
+ public static Acceleration MaxValue { get; } = new Acceleration(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Acceleration
///
- public static Acceleration MinValue => new Acceleration(double.MinValue, BaseUnit);
+ public static Acceleration MinValue { get; } = new Acceleration(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Acceleration;
+ public static QuantityType QuantityType { get; } = QuantityType.Acceleration;
///
/// All units of measurement for the Acceleration quantity.
@@ -131,7 +131,7 @@ private Acceleration(double numericValue, AccelerationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MeterPerSecondSquared.
///
- public static Acceleration Zero => new Acceleration(0, BaseUnit);
+ public static Acceleration Zero { get; } = new Acceleration(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmountOfSubstance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmountOfSubstance.WindowsRuntimeComponent.g.cs
index 289ef02cee..d12377f8cd 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmountOfSubstance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmountOfSubstance.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private AmountOfSubstance(double numericValue, AmountOfSubstanceUnit unit)
///
/// The base unit of AmountOfSubstance, which is Mole. All conversions go via this value.
///
- public static AmountOfSubstanceUnit BaseUnit => AmountOfSubstanceUnit.Mole;
+ public static AmountOfSubstanceUnit BaseUnit { get; } = AmountOfSubstanceUnit.Mole;
///
/// Represents the largest possible value of AmountOfSubstance
///
- public static AmountOfSubstance MaxValue => new AmountOfSubstance(double.MaxValue, BaseUnit);
+ public static AmountOfSubstance MaxValue { get; } = new AmountOfSubstance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AmountOfSubstance
///
- public static AmountOfSubstance MinValue => new AmountOfSubstance(double.MinValue, BaseUnit);
+ public static AmountOfSubstance MinValue { get; } = new AmountOfSubstance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AmountOfSubstance;
+ public static QuantityType QuantityType { get; } = QuantityType.AmountOfSubstance;
///
/// All units of measurement for the AmountOfSubstance quantity.
@@ -131,7 +131,7 @@ private AmountOfSubstance(double numericValue, AmountOfSubstanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Mole.
///
- public static AmountOfSubstance Zero => new AmountOfSubstance(0, BaseUnit);
+ public static AmountOfSubstance Zero { get; } = new AmountOfSubstance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmplitudeRatio.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmplitudeRatio.WindowsRuntimeComponent.g.cs
index fd7bcd0813..d21e5fc694 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmplitudeRatio.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AmplitudeRatio.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private AmplitudeRatio(double numericValue, AmplitudeRatioUnit unit)
///
/// The base unit of AmplitudeRatio, which is DecibelVolt. All conversions go via this value.
///
- public static AmplitudeRatioUnit BaseUnit => AmplitudeRatioUnit.DecibelVolt;
+ public static AmplitudeRatioUnit BaseUnit { get; } = AmplitudeRatioUnit.DecibelVolt;
///
/// Represents the largest possible value of AmplitudeRatio
///
- public static AmplitudeRatio MaxValue => new AmplitudeRatio(double.MaxValue, BaseUnit);
+ public static AmplitudeRatio MaxValue { get; } = new AmplitudeRatio(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AmplitudeRatio
///
- public static AmplitudeRatio MinValue => new AmplitudeRatio(double.MinValue, BaseUnit);
+ public static AmplitudeRatio MinValue { get; } = new AmplitudeRatio(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AmplitudeRatio;
+ public static QuantityType QuantityType { get; } = QuantityType.AmplitudeRatio;
///
/// All units of measurement for the AmplitudeRatio quantity.
@@ -131,7 +131,7 @@ private AmplitudeRatio(double numericValue, AmplitudeRatioUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DecibelVolt.
///
- public static AmplitudeRatio Zero => new AmplitudeRatio(0, BaseUnit);
+ public static AmplitudeRatio Zero { get; } = new AmplitudeRatio(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Angle.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Angle.WindowsRuntimeComponent.g.cs
index 00d0b13620..3d9cf1e03d 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Angle.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Angle.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Angle(double numericValue, AngleUnit unit)
///
/// The base unit of Angle, which is Degree. All conversions go via this value.
///
- public static AngleUnit BaseUnit => AngleUnit.Degree;
+ public static AngleUnit BaseUnit { get; } = AngleUnit.Degree;
///
/// Represents the largest possible value of Angle
///
- public static Angle MaxValue => new Angle(double.MaxValue, BaseUnit);
+ public static Angle MaxValue { get; } = new Angle(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Angle
///
- public static Angle MinValue => new Angle(double.MinValue, BaseUnit);
+ public static Angle MinValue { get; } = new Angle(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Angle;
+ public static QuantityType QuantityType { get; } = QuantityType.Angle;
///
/// All units of measurement for the Angle quantity.
@@ -131,7 +131,7 @@ private Angle(double numericValue, AngleUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Degree.
///
- public static Angle Zero => new Angle(0, BaseUnit);
+ public static Angle Zero { get; } = new Angle(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentEnergy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentEnergy.WindowsRuntimeComponent.g.cs
index cbc5a659c1..4cc4e3372b 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentEnergy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentEnergy.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ApparentEnergy(double numericValue, ApparentEnergyUnit unit)
///
/// The base unit of ApparentEnergy, which is VoltampereHour. All conversions go via this value.
///
- public static ApparentEnergyUnit BaseUnit => ApparentEnergyUnit.VoltampereHour;
+ public static ApparentEnergyUnit BaseUnit { get; } = ApparentEnergyUnit.VoltampereHour;
///
/// Represents the largest possible value of ApparentEnergy
///
- public static ApparentEnergy MaxValue => new ApparentEnergy(double.MaxValue, BaseUnit);
+ public static ApparentEnergy MaxValue { get; } = new ApparentEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ApparentEnergy
///
- public static ApparentEnergy MinValue => new ApparentEnergy(double.MinValue, BaseUnit);
+ public static ApparentEnergy MinValue { get; } = new ApparentEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ApparentEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.ApparentEnergy;
///
/// All units of measurement for the ApparentEnergy quantity.
@@ -131,7 +131,7 @@ private ApparentEnergy(double numericValue, ApparentEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltampereHour.
///
- public static ApparentEnergy Zero => new ApparentEnergy(0, BaseUnit);
+ public static ApparentEnergy Zero { get; } = new ApparentEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentPower.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentPower.WindowsRuntimeComponent.g.cs
index daaf46e2cd..688c067c0b 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentPower.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ApparentPower.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ApparentPower(double numericValue, ApparentPowerUnit unit)
///
/// The base unit of ApparentPower, which is Voltampere. All conversions go via this value.
///
- public static ApparentPowerUnit BaseUnit => ApparentPowerUnit.Voltampere;
+ public static ApparentPowerUnit BaseUnit { get; } = ApparentPowerUnit.Voltampere;
///
/// Represents the largest possible value of ApparentPower
///
- public static ApparentPower MaxValue => new ApparentPower(double.MaxValue, BaseUnit);
+ public static ApparentPower MaxValue { get; } = new ApparentPower(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ApparentPower
///
- public static ApparentPower MinValue => new ApparentPower(double.MinValue, BaseUnit);
+ public static ApparentPower MinValue { get; } = new ApparentPower(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ApparentPower;
+ public static QuantityType QuantityType { get; } = QuantityType.ApparentPower;
///
/// All units of measurement for the ApparentPower quantity.
@@ -131,7 +131,7 @@ private ApparentPower(double numericValue, ApparentPowerUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Voltampere.
///
- public static ApparentPower Zero => new ApparentPower(0, BaseUnit);
+ public static ApparentPower Zero { get; } = new ApparentPower(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Area.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Area.WindowsRuntimeComponent.g.cs
index a586b76c29..fcbc55be4a 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Area.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Area.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Area(double numericValue, AreaUnit unit)
///
/// The base unit of Area, which is SquareMeter. All conversions go via this value.
///
- public static AreaUnit BaseUnit => AreaUnit.SquareMeter;
+ public static AreaUnit BaseUnit { get; } = AreaUnit.SquareMeter;
///
/// Represents the largest possible value of Area
///
- public static Area MaxValue => new Area(double.MaxValue, BaseUnit);
+ public static Area MaxValue { get; } = new Area(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Area
///
- public static Area MinValue => new Area(double.MinValue, BaseUnit);
+ public static Area MinValue { get; } = new Area(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Area;
+ public static QuantityType QuantityType { get; } = QuantityType.Area;
///
/// All units of measurement for the Area quantity.
@@ -131,7 +131,7 @@ private Area(double numericValue, AreaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SquareMeter.
///
- public static Area Zero => new Area(0, BaseUnit);
+ public static Area Zero { get; } = new Area(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaDensity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaDensity.WindowsRuntimeComponent.g.cs
index 10bf58c368..3c0ed1599b 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaDensity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaDensity.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private AreaDensity(double numericValue, AreaDensityUnit unit)
///
/// The base unit of AreaDensity, which is KilogramPerSquareMeter. All conversions go via this value.
///
- public static AreaDensityUnit BaseUnit => AreaDensityUnit.KilogramPerSquareMeter;
+ public static AreaDensityUnit BaseUnit { get; } = AreaDensityUnit.KilogramPerSquareMeter;
///
/// Represents the largest possible value of AreaDensity
///
- public static AreaDensity MaxValue => new AreaDensity(double.MaxValue, BaseUnit);
+ public static AreaDensity MaxValue { get; } = new AreaDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AreaDensity
///
- public static AreaDensity MinValue => new AreaDensity(double.MinValue, BaseUnit);
+ public static AreaDensity MinValue { get; } = new AreaDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AreaDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.AreaDensity;
///
/// All units of measurement for the AreaDensity quantity.
@@ -131,7 +131,7 @@ private AreaDensity(double numericValue, AreaDensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerSquareMeter.
///
- public static AreaDensity Zero => new AreaDensity(0, BaseUnit);
+ public static AreaDensity Zero { get; } = new AreaDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaMomentOfInertia.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaMomentOfInertia.WindowsRuntimeComponent.g.cs
index 88e609fde3..80f4284676 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaMomentOfInertia.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/AreaMomentOfInertia.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private AreaMomentOfInertia(double numericValue, AreaMomentOfInertiaUnit unit)
///
/// The base unit of AreaMomentOfInertia, which is MeterToTheFourth. All conversions go via this value.
///
- public static AreaMomentOfInertiaUnit BaseUnit => AreaMomentOfInertiaUnit.MeterToTheFourth;
+ public static AreaMomentOfInertiaUnit BaseUnit { get; } = AreaMomentOfInertiaUnit.MeterToTheFourth;
///
/// Represents the largest possible value of AreaMomentOfInertia
///
- public static AreaMomentOfInertia MaxValue => new AreaMomentOfInertia(double.MaxValue, BaseUnit);
+ public static AreaMomentOfInertia MaxValue { get; } = new AreaMomentOfInertia(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AreaMomentOfInertia
///
- public static AreaMomentOfInertia MinValue => new AreaMomentOfInertia(double.MinValue, BaseUnit);
+ public static AreaMomentOfInertia MinValue { get; } = new AreaMomentOfInertia(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AreaMomentOfInertia;
+ public static QuantityType QuantityType { get; } = QuantityType.AreaMomentOfInertia;
///
/// All units of measurement for the AreaMomentOfInertia quantity.
@@ -131,7 +131,7 @@ private AreaMomentOfInertia(double numericValue, AreaMomentOfInertiaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MeterToTheFourth.
///
- public static AreaMomentOfInertia Zero => new AreaMomentOfInertia(0, BaseUnit);
+ public static AreaMomentOfInertia Zero { get; } = new AreaMomentOfInertia(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BitRate.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BitRate.WindowsRuntimeComponent.g.cs
index 9f94b2b184..2c1d25a564 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BitRate.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BitRate.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private BitRate(decimal numericValue, BitRateUnit unit)
///
/// The base unit of BitRate, which is BitPerSecond. All conversions go via this value.
///
- public static BitRateUnit BaseUnit => BitRateUnit.BitPerSecond;
+ public static BitRateUnit BaseUnit { get; } = BitRateUnit.BitPerSecond;
///
/// Represents the largest possible value of BitRate
///
- public static BitRate MaxValue => new BitRate(decimal.MaxValue, BaseUnit);
+ public static BitRate MaxValue { get; } = new BitRate(decimal.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of BitRate
///
- public static BitRate MinValue => new BitRate(decimal.MinValue, BaseUnit);
+ public static BitRate MinValue { get; } = new BitRate(decimal.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.BitRate;
+ public static QuantityType QuantityType { get; } = QuantityType.BitRate;
///
/// All units of measurement for the BitRate quantity.
@@ -134,7 +134,7 @@ private BitRate(decimal numericValue, BitRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit BitPerSecond.
///
- public static BitRate Zero => new BitRate(0, BaseUnit);
+ public static BitRate Zero { get; } = new BitRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.WindowsRuntimeComponent.g.cs
index 7951122f05..131983f29c 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private BrakeSpecificFuelConsumption(double numericValue, BrakeSpecificFuelConsu
///
/// The base unit of BrakeSpecificFuelConsumption, which is KilogramPerJoule. All conversions go via this value.
///
- public static BrakeSpecificFuelConsumptionUnit BaseUnit => BrakeSpecificFuelConsumptionUnit.KilogramPerJoule;
+ public static BrakeSpecificFuelConsumptionUnit BaseUnit { get; } = BrakeSpecificFuelConsumptionUnit.KilogramPerJoule;
///
/// Represents the largest possible value of BrakeSpecificFuelConsumption
///
- public static BrakeSpecificFuelConsumption MaxValue => new BrakeSpecificFuelConsumption(double.MaxValue, BaseUnit);
+ public static BrakeSpecificFuelConsumption MaxValue { get; } = new BrakeSpecificFuelConsumption(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of BrakeSpecificFuelConsumption
///
- public static BrakeSpecificFuelConsumption MinValue => new BrakeSpecificFuelConsumption(double.MinValue, BaseUnit);
+ public static BrakeSpecificFuelConsumption MinValue { get; } = new BrakeSpecificFuelConsumption(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.BrakeSpecificFuelConsumption;
+ public static QuantityType QuantityType { get; } = QuantityType.BrakeSpecificFuelConsumption;
///
/// All units of measurement for the BrakeSpecificFuelConsumption quantity.
@@ -131,7 +131,7 @@ private BrakeSpecificFuelConsumption(double numericValue, BrakeSpecificFuelConsu
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerJoule.
///
- public static BrakeSpecificFuelConsumption Zero => new BrakeSpecificFuelConsumption(0, BaseUnit);
+ public static BrakeSpecificFuelConsumption Zero { get; } = new BrakeSpecificFuelConsumption(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Capacitance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Capacitance.WindowsRuntimeComponent.g.cs
index e3c5e0539c..5a8f365de0 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Capacitance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Capacitance.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Capacitance(double numericValue, CapacitanceUnit unit)
///
/// The base unit of Capacitance, which is Farad. All conversions go via this value.
///
- public static CapacitanceUnit BaseUnit => CapacitanceUnit.Farad;
+ public static CapacitanceUnit BaseUnit { get; } = CapacitanceUnit.Farad;
///
/// Represents the largest possible value of Capacitance
///
- public static Capacitance MaxValue => new Capacitance(double.MaxValue, BaseUnit);
+ public static Capacitance MaxValue { get; } = new Capacitance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Capacitance
///
- public static Capacitance MinValue => new Capacitance(double.MinValue, BaseUnit);
+ public static Capacitance MinValue { get; } = new Capacitance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Capacitance;
+ public static QuantityType QuantityType { get; } = QuantityType.Capacitance;
///
/// All units of measurement for the Capacitance quantity.
@@ -134,7 +134,7 @@ private Capacitance(double numericValue, CapacitanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Farad.
///
- public static Capacitance Zero => new Capacitance(0, BaseUnit);
+ public static Capacitance Zero { get; } = new Capacitance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/CoefficientOfThermalExpansion.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/CoefficientOfThermalExpansion.WindowsRuntimeComponent.g.cs
index 5fbf89f4fa..4902ecaf69 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/CoefficientOfThermalExpansion.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/CoefficientOfThermalExpansion.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private CoefficientOfThermalExpansion(double numericValue, CoefficientOfThermalE
///
/// The base unit of CoefficientOfThermalExpansion, which is InverseKelvin. All conversions go via this value.
///
- public static CoefficientOfThermalExpansionUnit BaseUnit => CoefficientOfThermalExpansionUnit.InverseKelvin;
+ public static CoefficientOfThermalExpansionUnit BaseUnit { get; } = CoefficientOfThermalExpansionUnit.InverseKelvin;
///
/// Represents the largest possible value of CoefficientOfThermalExpansion
///
- public static CoefficientOfThermalExpansion MaxValue => new CoefficientOfThermalExpansion(double.MaxValue, BaseUnit);
+ public static CoefficientOfThermalExpansion MaxValue { get; } = new CoefficientOfThermalExpansion(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of CoefficientOfThermalExpansion
///
- public static CoefficientOfThermalExpansion MinValue => new CoefficientOfThermalExpansion(double.MinValue, BaseUnit);
+ public static CoefficientOfThermalExpansion MinValue { get; } = new CoefficientOfThermalExpansion(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.CoefficientOfThermalExpansion;
+ public static QuantityType QuantityType { get; } = QuantityType.CoefficientOfThermalExpansion;
///
/// All units of measurement for the CoefficientOfThermalExpansion quantity.
@@ -131,7 +131,7 @@ private CoefficientOfThermalExpansion(double numericValue, CoefficientOfThermalE
///
/// Gets an instance of this quantity with a value of 0 in the base unit InverseKelvin.
///
- public static CoefficientOfThermalExpansion Zero => new CoefficientOfThermalExpansion(0, BaseUnit);
+ public static CoefficientOfThermalExpansion Zero { get; } = new CoefficientOfThermalExpansion(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Density.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Density.WindowsRuntimeComponent.g.cs
index e0e50bf45c..2c40ddcdb0 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Density.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Density.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Density(double numericValue, DensityUnit unit)
///
/// The base unit of Density, which is KilogramPerCubicMeter. All conversions go via this value.
///
- public static DensityUnit BaseUnit => DensityUnit.KilogramPerCubicMeter;
+ public static DensityUnit BaseUnit { get; } = DensityUnit.KilogramPerCubicMeter;
///
/// Represents the largest possible value of Density
///
- public static Density MaxValue => new Density(double.MaxValue, BaseUnit);
+ public static Density MaxValue { get; } = new Density(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Density
///
- public static Density MinValue => new Density(double.MinValue, BaseUnit);
+ public static Density MinValue { get; } = new Density(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Density;
+ public static QuantityType QuantityType { get; } = QuantityType.Density;
///
/// All units of measurement for the Density quantity.
@@ -134,7 +134,7 @@ private Density(double numericValue, DensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerCubicMeter.
///
- public static Density Zero => new Density(0, BaseUnit);
+ public static Density Zero { get; } = new Density(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Duration.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Duration.WindowsRuntimeComponent.g.cs
index e57ea85bbd..8efdc33abc 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Duration.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Duration.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Duration(double numericValue, DurationUnit unit)
///
/// The base unit of Duration, which is Second. All conversions go via this value.
///
- public static DurationUnit BaseUnit => DurationUnit.Second;
+ public static DurationUnit BaseUnit { get; } = DurationUnit.Second;
///
/// Represents the largest possible value of Duration
///
- public static Duration MaxValue => new Duration(double.MaxValue, BaseUnit);
+ public static Duration MaxValue { get; } = new Duration(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Duration
///
- public static Duration MinValue => new Duration(double.MinValue, BaseUnit);
+ public static Duration MinValue { get; } = new Duration(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Duration;
+ public static QuantityType QuantityType { get; } = QuantityType.Duration;
///
/// All units of measurement for the Duration quantity.
@@ -131,7 +131,7 @@ private Duration(double numericValue, DurationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Second.
///
- public static Duration Zero => new Duration(0, BaseUnit);
+ public static Duration Zero { get; } = new Duration(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/DynamicViscosity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/DynamicViscosity.WindowsRuntimeComponent.g.cs
index 20534fd15c..10692d435a 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/DynamicViscosity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/DynamicViscosity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private DynamicViscosity(double numericValue, DynamicViscosityUnit unit)
///
/// The base unit of DynamicViscosity, which is NewtonSecondPerMeterSquared. All conversions go via this value.
///
- public static DynamicViscosityUnit BaseUnit => DynamicViscosityUnit.NewtonSecondPerMeterSquared;
+ public static DynamicViscosityUnit BaseUnit { get; } = DynamicViscosityUnit.NewtonSecondPerMeterSquared;
///
/// Represents the largest possible value of DynamicViscosity
///
- public static DynamicViscosity MaxValue => new DynamicViscosity(double.MaxValue, BaseUnit);
+ public static DynamicViscosity MaxValue { get; } = new DynamicViscosity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of DynamicViscosity
///
- public static DynamicViscosity MinValue => new DynamicViscosity(double.MinValue, BaseUnit);
+ public static DynamicViscosity MinValue { get; } = new DynamicViscosity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.DynamicViscosity;
+ public static QuantityType QuantityType { get; } = QuantityType.DynamicViscosity;
///
/// All units of measurement for the DynamicViscosity quantity.
@@ -134,7 +134,7 @@ private DynamicViscosity(double numericValue, DynamicViscosityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonSecondPerMeterSquared.
///
- public static DynamicViscosity Zero => new DynamicViscosity(0, BaseUnit);
+ public static DynamicViscosity Zero { get; } = new DynamicViscosity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricAdmittance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricAdmittance.WindowsRuntimeComponent.g.cs
index f22a5da97d..f76c280ffe 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricAdmittance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricAdmittance.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ElectricAdmittance(double numericValue, ElectricAdmittanceUnit unit)
///
/// The base unit of ElectricAdmittance, which is Siemens. All conversions go via this value.
///
- public static ElectricAdmittanceUnit BaseUnit => ElectricAdmittanceUnit.Siemens;
+ public static ElectricAdmittanceUnit BaseUnit { get; } = ElectricAdmittanceUnit.Siemens;
///
/// Represents the largest possible value of ElectricAdmittance
///
- public static ElectricAdmittance MaxValue => new ElectricAdmittance(double.MaxValue, BaseUnit);
+ public static ElectricAdmittance MaxValue { get; } = new ElectricAdmittance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricAdmittance
///
- public static ElectricAdmittance MinValue => new ElectricAdmittance(double.MinValue, BaseUnit);
+ public static ElectricAdmittance MinValue { get; } = new ElectricAdmittance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricAdmittance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricAdmittance;
///
/// All units of measurement for the ElectricAdmittance quantity.
@@ -131,7 +131,7 @@ private ElectricAdmittance(double numericValue, ElectricAdmittanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Siemens.
///
- public static ElectricAdmittance Zero => new ElectricAdmittance(0, BaseUnit);
+ public static ElectricAdmittance Zero { get; } = new ElectricAdmittance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCharge.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCharge.WindowsRuntimeComponent.g.cs
index bb6f5726f4..0b97812a5e 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCharge.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCharge.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricCharge(double numericValue, ElectricChargeUnit unit)
///
/// The base unit of ElectricCharge, which is Coulomb. All conversions go via this value.
///
- public static ElectricChargeUnit BaseUnit => ElectricChargeUnit.Coulomb;
+ public static ElectricChargeUnit BaseUnit { get; } = ElectricChargeUnit.Coulomb;
///
/// Represents the largest possible value of ElectricCharge
///
- public static ElectricCharge MaxValue => new ElectricCharge(double.MaxValue, BaseUnit);
+ public static ElectricCharge MaxValue { get; } = new ElectricCharge(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCharge
///
- public static ElectricCharge MinValue => new ElectricCharge(double.MinValue, BaseUnit);
+ public static ElectricCharge MinValue { get; } = new ElectricCharge(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCharge;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCharge;
///
/// All units of measurement for the ElectricCharge quantity.
@@ -134,7 +134,7 @@ private ElectricCharge(double numericValue, ElectricChargeUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Coulomb.
///
- public static ElectricCharge Zero => new ElectricCharge(0, BaseUnit);
+ public static ElectricCharge Zero { get; } = new ElectricCharge(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricChargeDensity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricChargeDensity.WindowsRuntimeComponent.g.cs
index 1bc6aa4bd2..a72d719df7 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricChargeDensity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricChargeDensity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricChargeDensity(double numericValue, ElectricChargeDensityUnit uni
///
/// The base unit of ElectricChargeDensity, which is CoulombPerCubicMeter. All conversions go via this value.
///
- public static ElectricChargeDensityUnit BaseUnit => ElectricChargeDensityUnit.CoulombPerCubicMeter;
+ public static ElectricChargeDensityUnit BaseUnit { get; } = ElectricChargeDensityUnit.CoulombPerCubicMeter;
///
/// Represents the largest possible value of ElectricChargeDensity
///
- public static ElectricChargeDensity MaxValue => new ElectricChargeDensity(double.MaxValue, BaseUnit);
+ public static ElectricChargeDensity MaxValue { get; } = new ElectricChargeDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricChargeDensity
///
- public static ElectricChargeDensity MinValue => new ElectricChargeDensity(double.MinValue, BaseUnit);
+ public static ElectricChargeDensity MinValue { get; } = new ElectricChargeDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricChargeDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricChargeDensity;
///
/// All units of measurement for the ElectricChargeDensity quantity.
@@ -134,7 +134,7 @@ private ElectricChargeDensity(double numericValue, ElectricChargeDensityUnit uni
///
/// Gets an instance of this quantity with a value of 0 in the base unit CoulombPerCubicMeter.
///
- public static ElectricChargeDensity Zero => new ElectricChargeDensity(0, BaseUnit);
+ public static ElectricChargeDensity Zero { get; } = new ElectricChargeDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductance.WindowsRuntimeComponent.g.cs
index a8ea454d26..9b2353aa76 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductance.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricConductance(double numericValue, ElectricConductanceUnit unit)
///
/// The base unit of ElectricConductance, which is Siemens. All conversions go via this value.
///
- public static ElectricConductanceUnit BaseUnit => ElectricConductanceUnit.Siemens;
+ public static ElectricConductanceUnit BaseUnit { get; } = ElectricConductanceUnit.Siemens;
///
/// Represents the largest possible value of ElectricConductance
///
- public static ElectricConductance MaxValue => new ElectricConductance(double.MaxValue, BaseUnit);
+ public static ElectricConductance MaxValue { get; } = new ElectricConductance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricConductance
///
- public static ElectricConductance MinValue => new ElectricConductance(double.MinValue, BaseUnit);
+ public static ElectricConductance MinValue { get; } = new ElectricConductance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricConductance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricConductance;
///
/// All units of measurement for the ElectricConductance quantity.
@@ -134,7 +134,7 @@ private ElectricConductance(double numericValue, ElectricConductanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Siemens.
///
- public static ElectricConductance Zero => new ElectricConductance(0, BaseUnit);
+ public static ElectricConductance Zero { get; } = new ElectricConductance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductivity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductivity.WindowsRuntimeComponent.g.cs
index 843805c29e..d463e98045 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductivity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricConductivity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricConductivity(double numericValue, ElectricConductivityUnit unit)
///
/// The base unit of ElectricConductivity, which is SiemensPerMeter. All conversions go via this value.
///
- public static ElectricConductivityUnit BaseUnit => ElectricConductivityUnit.SiemensPerMeter;
+ public static ElectricConductivityUnit BaseUnit { get; } = ElectricConductivityUnit.SiemensPerMeter;
///
/// Represents the largest possible value of ElectricConductivity
///
- public static ElectricConductivity MaxValue => new ElectricConductivity(double.MaxValue, BaseUnit);
+ public static ElectricConductivity MaxValue { get; } = new ElectricConductivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricConductivity
///
- public static ElectricConductivity MinValue => new ElectricConductivity(double.MinValue, BaseUnit);
+ public static ElectricConductivity MinValue { get; } = new ElectricConductivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricConductivity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricConductivity;
///
/// All units of measurement for the ElectricConductivity quantity.
@@ -134,7 +134,7 @@ private ElectricConductivity(double numericValue, ElectricConductivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SiemensPerMeter.
///
- public static ElectricConductivity Zero => new ElectricConductivity(0, BaseUnit);
+ public static ElectricConductivity Zero { get; } = new ElectricConductivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrent.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrent.WindowsRuntimeComponent.g.cs
index 31c19ff2db..03021b033b 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrent.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrent.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ElectricCurrent(double numericValue, ElectricCurrentUnit unit)
///
/// The base unit of ElectricCurrent, which is Ampere. All conversions go via this value.
///
- public static ElectricCurrentUnit BaseUnit => ElectricCurrentUnit.Ampere;
+ public static ElectricCurrentUnit BaseUnit { get; } = ElectricCurrentUnit.Ampere;
///
/// Represents the largest possible value of ElectricCurrent
///
- public static ElectricCurrent MaxValue => new ElectricCurrent(double.MaxValue, BaseUnit);
+ public static ElectricCurrent MaxValue { get; } = new ElectricCurrent(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCurrent
///
- public static ElectricCurrent MinValue => new ElectricCurrent(double.MinValue, BaseUnit);
+ public static ElectricCurrent MinValue { get; } = new ElectricCurrent(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCurrent;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCurrent;
///
/// All units of measurement for the ElectricCurrent quantity.
@@ -131,7 +131,7 @@ private ElectricCurrent(double numericValue, ElectricCurrentUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Ampere.
///
- public static ElectricCurrent Zero => new ElectricCurrent(0, BaseUnit);
+ public static ElectricCurrent Zero { get; } = new ElectricCurrent(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentDensity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentDensity.WindowsRuntimeComponent.g.cs
index ba1566386b..947625b277 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentDensity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentDensity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricCurrentDensity(double numericValue, ElectricCurrentDensityUnit u
///
/// The base unit of ElectricCurrentDensity, which is AmperePerSquareMeter. All conversions go via this value.
///
- public static ElectricCurrentDensityUnit BaseUnit => ElectricCurrentDensityUnit.AmperePerSquareMeter;
+ public static ElectricCurrentDensityUnit BaseUnit { get; } = ElectricCurrentDensityUnit.AmperePerSquareMeter;
///
/// Represents the largest possible value of ElectricCurrentDensity
///
- public static ElectricCurrentDensity MaxValue => new ElectricCurrentDensity(double.MaxValue, BaseUnit);
+ public static ElectricCurrentDensity MaxValue { get; } = new ElectricCurrentDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCurrentDensity
///
- public static ElectricCurrentDensity MinValue => new ElectricCurrentDensity(double.MinValue, BaseUnit);
+ public static ElectricCurrentDensity MinValue { get; } = new ElectricCurrentDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCurrentDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCurrentDensity;
///
/// All units of measurement for the ElectricCurrentDensity quantity.
@@ -134,7 +134,7 @@ private ElectricCurrentDensity(double numericValue, ElectricCurrentDensityUnit u
///
/// Gets an instance of this quantity with a value of 0 in the base unit AmperePerSquareMeter.
///
- public static ElectricCurrentDensity Zero => new ElectricCurrentDensity(0, BaseUnit);
+ public static ElectricCurrentDensity Zero { get; } = new ElectricCurrentDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentGradient.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentGradient.WindowsRuntimeComponent.g.cs
index 79a90f05ca..5bf58fa07e 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentGradient.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricCurrentGradient.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ElectricCurrentGradient(double numericValue, ElectricCurrentGradientUnit
///
/// The base unit of ElectricCurrentGradient, which is AmperePerSecond. All conversions go via this value.
///
- public static ElectricCurrentGradientUnit BaseUnit => ElectricCurrentGradientUnit.AmperePerSecond;
+ public static ElectricCurrentGradientUnit BaseUnit { get; } = ElectricCurrentGradientUnit.AmperePerSecond;
///
/// Represents the largest possible value of ElectricCurrentGradient
///
- public static ElectricCurrentGradient MaxValue => new ElectricCurrentGradient(double.MaxValue, BaseUnit);
+ public static ElectricCurrentGradient MaxValue { get; } = new ElectricCurrentGradient(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCurrentGradient
///
- public static ElectricCurrentGradient MinValue => new ElectricCurrentGradient(double.MinValue, BaseUnit);
+ public static ElectricCurrentGradient MinValue { get; } = new ElectricCurrentGradient(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCurrentGradient;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCurrentGradient;
///
/// All units of measurement for the ElectricCurrentGradient quantity.
@@ -131,7 +131,7 @@ private ElectricCurrentGradient(double numericValue, ElectricCurrentGradientUnit
///
/// Gets an instance of this quantity with a value of 0 in the base unit AmperePerSecond.
///
- public static ElectricCurrentGradient Zero => new ElectricCurrentGradient(0, BaseUnit);
+ public static ElectricCurrentGradient Zero { get; } = new ElectricCurrentGradient(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricField.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricField.WindowsRuntimeComponent.g.cs
index 758928d9bf..db0428419f 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricField.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricField.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricField(double numericValue, ElectricFieldUnit unit)
///
/// The base unit of ElectricField, which is VoltPerMeter. All conversions go via this value.
///
- public static ElectricFieldUnit BaseUnit => ElectricFieldUnit.VoltPerMeter;
+ public static ElectricFieldUnit BaseUnit { get; } = ElectricFieldUnit.VoltPerMeter;
///
/// Represents the largest possible value of ElectricField
///
- public static ElectricField MaxValue => new ElectricField(double.MaxValue, BaseUnit);
+ public static ElectricField MaxValue { get; } = new ElectricField(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricField
///
- public static ElectricField MinValue => new ElectricField(double.MinValue, BaseUnit);
+ public static ElectricField MinValue { get; } = new ElectricField(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricField;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricField;
///
/// All units of measurement for the ElectricField quantity.
@@ -134,7 +134,7 @@ private ElectricField(double numericValue, ElectricFieldUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltPerMeter.
///
- public static ElectricField Zero => new ElectricField(0, BaseUnit);
+ public static ElectricField Zero { get; } = new ElectricField(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricInductance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricInductance.WindowsRuntimeComponent.g.cs
index 6fee355e37..ad3717ead6 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricInductance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricInductance.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricInductance(double numericValue, ElectricInductanceUnit unit)
///
/// The base unit of ElectricInductance, which is Henry. All conversions go via this value.
///
- public static ElectricInductanceUnit BaseUnit => ElectricInductanceUnit.Henry;
+ public static ElectricInductanceUnit BaseUnit { get; } = ElectricInductanceUnit.Henry;
///
/// Represents the largest possible value of ElectricInductance
///
- public static ElectricInductance MaxValue => new ElectricInductance(double.MaxValue, BaseUnit);
+ public static ElectricInductance MaxValue { get; } = new ElectricInductance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricInductance
///
- public static ElectricInductance MinValue => new ElectricInductance(double.MinValue, BaseUnit);
+ public static ElectricInductance MinValue { get; } = new ElectricInductance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricInductance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricInductance;
///
/// All units of measurement for the ElectricInductance quantity.
@@ -134,7 +134,7 @@ private ElectricInductance(double numericValue, ElectricInductanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Henry.
///
- public static ElectricInductance Zero => new ElectricInductance(0, BaseUnit);
+ public static ElectricInductance Zero { get; } = new ElectricInductance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotential.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotential.WindowsRuntimeComponent.g.cs
index 546af6e12b..438a68a7fe 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotential.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotential.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ElectricPotential(double numericValue, ElectricPotentialUnit unit)
///
/// The base unit of ElectricPotential, which is Volt. All conversions go via this value.
///
- public static ElectricPotentialUnit BaseUnit => ElectricPotentialUnit.Volt;
+ public static ElectricPotentialUnit BaseUnit { get; } = ElectricPotentialUnit.Volt;
///
/// Represents the largest possible value of ElectricPotential
///
- public static ElectricPotential MaxValue => new ElectricPotential(double.MaxValue, BaseUnit);
+ public static ElectricPotential MaxValue { get; } = new ElectricPotential(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricPotential
///
- public static ElectricPotential MinValue => new ElectricPotential(double.MinValue, BaseUnit);
+ public static ElectricPotential MinValue { get; } = new ElectricPotential(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricPotential;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricPotential;
///
/// All units of measurement for the ElectricPotential quantity.
@@ -131,7 +131,7 @@ private ElectricPotential(double numericValue, ElectricPotentialUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Volt.
///
- public static ElectricPotential Zero => new ElectricPotential(0, BaseUnit);
+ public static ElectricPotential Zero { get; } = new ElectricPotential(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialAc.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialAc.WindowsRuntimeComponent.g.cs
index 153a1e0aa2..8c934c4ea6 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialAc.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialAc.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ElectricPotentialAc(double numericValue, ElectricPotentialAcUnit unit)
///
/// The base unit of ElectricPotentialAc, which is VoltAc. All conversions go via this value.
///
- public static ElectricPotentialAcUnit BaseUnit => ElectricPotentialAcUnit.VoltAc;
+ public static ElectricPotentialAcUnit BaseUnit { get; } = ElectricPotentialAcUnit.VoltAc;
///
/// Represents the largest possible value of ElectricPotentialAc
///
- public static ElectricPotentialAc MaxValue => new ElectricPotentialAc(double.MaxValue, BaseUnit);
+ public static ElectricPotentialAc MaxValue { get; } = new ElectricPotentialAc(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricPotentialAc
///
- public static ElectricPotentialAc MinValue => new ElectricPotentialAc(double.MinValue, BaseUnit);
+ public static ElectricPotentialAc MinValue { get; } = new ElectricPotentialAc(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricPotentialAc;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricPotentialAc;
///
/// All units of measurement for the ElectricPotentialAc quantity.
@@ -131,7 +131,7 @@ private ElectricPotentialAc(double numericValue, ElectricPotentialAcUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltAc.
///
- public static ElectricPotentialAc Zero => new ElectricPotentialAc(0, BaseUnit);
+ public static ElectricPotentialAc Zero { get; } = new ElectricPotentialAc(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialDc.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialDc.WindowsRuntimeComponent.g.cs
index adf9532fd1..4752150d04 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialDc.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricPotentialDc.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ElectricPotentialDc(double numericValue, ElectricPotentialDcUnit unit)
///
/// The base unit of ElectricPotentialDc, which is VoltDc. All conversions go via this value.
///
- public static ElectricPotentialDcUnit BaseUnit => ElectricPotentialDcUnit.VoltDc;
+ public static ElectricPotentialDcUnit BaseUnit { get; } = ElectricPotentialDcUnit.VoltDc;
///
/// Represents the largest possible value of ElectricPotentialDc
///
- public static ElectricPotentialDc MaxValue => new ElectricPotentialDc(double.MaxValue, BaseUnit);
+ public static ElectricPotentialDc MaxValue { get; } = new ElectricPotentialDc(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricPotentialDc
///
- public static ElectricPotentialDc MinValue => new ElectricPotentialDc(double.MinValue, BaseUnit);
+ public static ElectricPotentialDc MinValue { get; } = new ElectricPotentialDc(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricPotentialDc;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricPotentialDc;
///
/// All units of measurement for the ElectricPotentialDc quantity.
@@ -131,7 +131,7 @@ private ElectricPotentialDc(double numericValue, ElectricPotentialDcUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltDc.
///
- public static ElectricPotentialDc Zero => new ElectricPotentialDc(0, BaseUnit);
+ public static ElectricPotentialDc Zero { get; } = new ElectricPotentialDc(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistance.WindowsRuntimeComponent.g.cs
index 3784856cea..f9734c9e9b 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistance.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ElectricResistance(double numericValue, ElectricResistanceUnit unit)
///
/// The base unit of ElectricResistance, which is Ohm. All conversions go via this value.
///
- public static ElectricResistanceUnit BaseUnit => ElectricResistanceUnit.Ohm;
+ public static ElectricResistanceUnit BaseUnit { get; } = ElectricResistanceUnit.Ohm;
///
/// Represents the largest possible value of ElectricResistance
///
- public static ElectricResistance MaxValue => new ElectricResistance(double.MaxValue, BaseUnit);
+ public static ElectricResistance MaxValue { get; } = new ElectricResistance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricResistance
///
- public static ElectricResistance MinValue => new ElectricResistance(double.MinValue, BaseUnit);
+ public static ElectricResistance MinValue { get; } = new ElectricResistance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricResistance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricResistance;
///
/// All units of measurement for the ElectricResistance quantity.
@@ -131,7 +131,7 @@ private ElectricResistance(double numericValue, ElectricResistanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Ohm.
///
- public static ElectricResistance Zero => new ElectricResistance(0, BaseUnit);
+ public static ElectricResistance Zero { get; } = new ElectricResistance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistivity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistivity.WindowsRuntimeComponent.g.cs
index 48a115c831..da7f2187cb 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistivity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ElectricResistivity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ElectricResistivity(double numericValue, ElectricResistivityUnit unit)
///
/// The base unit of ElectricResistivity, which is OhmMeter. All conversions go via this value.
///
- public static ElectricResistivityUnit BaseUnit => ElectricResistivityUnit.OhmMeter;
+ public static ElectricResistivityUnit BaseUnit { get; } = ElectricResistivityUnit.OhmMeter;
///
/// Represents the largest possible value of ElectricResistivity
///
- public static ElectricResistivity MaxValue => new ElectricResistivity(double.MaxValue, BaseUnit);
+ public static ElectricResistivity MaxValue { get; } = new ElectricResistivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricResistivity
///
- public static ElectricResistivity MinValue => new ElectricResistivity(double.MinValue, BaseUnit);
+ public static ElectricResistivity MinValue { get; } = new ElectricResistivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricResistivity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricResistivity;
///
/// All units of measurement for the ElectricResistivity quantity.
@@ -134,7 +134,7 @@ private ElectricResistivity(double numericValue, ElectricResistivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit OhmMeter.
///
- public static ElectricResistivity Zero => new ElectricResistivity(0, BaseUnit);
+ public static ElectricResistivity Zero { get; } = new ElectricResistivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Energy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Energy.WindowsRuntimeComponent.g.cs
index 6003594404..17cf032399 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Energy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Energy.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Energy(double numericValue, EnergyUnit unit)
///
/// The base unit of Energy, which is Joule. All conversions go via this value.
///
- public static EnergyUnit BaseUnit => EnergyUnit.Joule;
+ public static EnergyUnit BaseUnit { get; } = EnergyUnit.Joule;
///
/// Represents the largest possible value of Energy
///
- public static Energy MaxValue => new Energy(double.MaxValue, BaseUnit);
+ public static Energy MaxValue { get; } = new Energy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Energy
///
- public static Energy MinValue => new Energy(double.MinValue, BaseUnit);
+ public static Energy MinValue { get; } = new Energy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Energy;
+ public static QuantityType QuantityType { get; } = QuantityType.Energy;
///
/// All units of measurement for the Energy quantity.
@@ -131,7 +131,7 @@ private Energy(double numericValue, EnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Joule.
///
- public static Energy Zero => new Energy(0, BaseUnit);
+ public static Energy Zero { get; } = new Energy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Entropy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Entropy.WindowsRuntimeComponent.g.cs
index 3bb85a46fd..ef0f26a47a 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Entropy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Entropy.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Entropy(double numericValue, EntropyUnit unit)
///
/// The base unit of Entropy, which is JoulePerKelvin. All conversions go via this value.
///
- public static EntropyUnit BaseUnit => EntropyUnit.JoulePerKelvin;
+ public static EntropyUnit BaseUnit { get; } = EntropyUnit.JoulePerKelvin;
///
/// Represents the largest possible value of Entropy
///
- public static Entropy MaxValue => new Entropy(double.MaxValue, BaseUnit);
+ public static Entropy MaxValue { get; } = new Entropy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Entropy
///
- public static Entropy MinValue => new Entropy(double.MinValue, BaseUnit);
+ public static Entropy MinValue { get; } = new Entropy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Entropy;
+ public static QuantityType QuantityType { get; } = QuantityType.Entropy;
///
/// All units of measurement for the Entropy quantity.
@@ -131,7 +131,7 @@ private Entropy(double numericValue, EntropyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerKelvin.
///
- public static Entropy Zero => new Entropy(0, BaseUnit);
+ public static Entropy Zero { get; } = new Entropy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Force.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Force.WindowsRuntimeComponent.g.cs
index f681bc23b8..389158cd90 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Force.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Force.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Force(double numericValue, ForceUnit unit)
///
/// The base unit of Force, which is Newton. All conversions go via this value.
///
- public static ForceUnit BaseUnit => ForceUnit.Newton;
+ public static ForceUnit BaseUnit { get; } = ForceUnit.Newton;
///
/// Represents the largest possible value of Force
///
- public static Force MaxValue => new Force(double.MaxValue, BaseUnit);
+ public static Force MaxValue { get; } = new Force(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Force
///
- public static Force MinValue => new Force(double.MinValue, BaseUnit);
+ public static Force MinValue { get; } = new Force(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Force;
+ public static QuantityType QuantityType { get; } = QuantityType.Force;
///
/// All units of measurement for the Force quantity.
@@ -131,7 +131,7 @@ private Force(double numericValue, ForceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Newton.
///
- public static Force Zero => new Force(0, BaseUnit);
+ public static Force Zero { get; } = new Force(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForceChangeRate.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForceChangeRate.WindowsRuntimeComponent.g.cs
index 130bbaaab2..6ae9f79fc4 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForceChangeRate.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForceChangeRate.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ForceChangeRate(double numericValue, ForceChangeRateUnit unit)
///
/// The base unit of ForceChangeRate, which is NewtonPerSecond. All conversions go via this value.
///
- public static ForceChangeRateUnit BaseUnit => ForceChangeRateUnit.NewtonPerSecond;
+ public static ForceChangeRateUnit BaseUnit { get; } = ForceChangeRateUnit.NewtonPerSecond;
///
/// Represents the largest possible value of ForceChangeRate
///
- public static ForceChangeRate MaxValue => new ForceChangeRate(double.MaxValue, BaseUnit);
+ public static ForceChangeRate MaxValue { get; } = new ForceChangeRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ForceChangeRate
///
- public static ForceChangeRate MinValue => new ForceChangeRate(double.MinValue, BaseUnit);
+ public static ForceChangeRate MinValue { get; } = new ForceChangeRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ForceChangeRate;
+ public static QuantityType QuantityType { get; } = QuantityType.ForceChangeRate;
///
/// All units of measurement for the ForceChangeRate quantity.
@@ -131,7 +131,7 @@ private ForceChangeRate(double numericValue, ForceChangeRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonPerSecond.
///
- public static ForceChangeRate Zero => new ForceChangeRate(0, BaseUnit);
+ public static ForceChangeRate Zero { get; } = new ForceChangeRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForcePerLength.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForcePerLength.WindowsRuntimeComponent.g.cs
index 0d349719e1..cb16d22827 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForcePerLength.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForcePerLength.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ForcePerLength(double numericValue, ForcePerLengthUnit unit)
///
/// The base unit of ForcePerLength, which is NewtonPerMeter. All conversions go via this value.
///
- public static ForcePerLengthUnit BaseUnit => ForcePerLengthUnit.NewtonPerMeter;
+ public static ForcePerLengthUnit BaseUnit { get; } = ForcePerLengthUnit.NewtonPerMeter;
///
/// Represents the largest possible value of ForcePerLength
///
- public static ForcePerLength MaxValue => new ForcePerLength(double.MaxValue, BaseUnit);
+ public static ForcePerLength MaxValue { get; } = new ForcePerLength(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ForcePerLength
///
- public static ForcePerLength MinValue => new ForcePerLength(double.MinValue, BaseUnit);
+ public static ForcePerLength MinValue { get; } = new ForcePerLength(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ForcePerLength;
+ public static QuantityType QuantityType { get; } = QuantityType.ForcePerLength;
///
/// All units of measurement for the ForcePerLength quantity.
@@ -131,7 +131,7 @@ private ForcePerLength(double numericValue, ForcePerLengthUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonPerMeter.
///
- public static ForcePerLength Zero => new ForcePerLength(0, BaseUnit);
+ public static ForcePerLength Zero { get; } = new ForcePerLength(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Frequency.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Frequency.WindowsRuntimeComponent.g.cs
index 91e1b46e3d..a7378ba6cc 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Frequency.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Frequency.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Frequency(double numericValue, FrequencyUnit unit)
///
/// The base unit of Frequency, which is Hertz. All conversions go via this value.
///
- public static FrequencyUnit BaseUnit => FrequencyUnit.Hertz;
+ public static FrequencyUnit BaseUnit { get; } = FrequencyUnit.Hertz;
///
/// Represents the largest possible value of Frequency
///
- public static Frequency MaxValue => new Frequency(double.MaxValue, BaseUnit);
+ public static Frequency MaxValue { get; } = new Frequency(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Frequency
///
- public static Frequency MinValue => new Frequency(double.MinValue, BaseUnit);
+ public static Frequency MinValue { get; } = new Frequency(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Frequency;
+ public static QuantityType QuantityType { get; } = QuantityType.Frequency;
///
/// All units of measurement for the Frequency quantity.
@@ -131,7 +131,7 @@ private Frequency(double numericValue, FrequencyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Hertz.
///
- public static Frequency Zero => new Frequency(0, BaseUnit);
+ public static Frequency Zero { get; } = new Frequency(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatFlux.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatFlux.WindowsRuntimeComponent.g.cs
index b7451ac273..69a30764ff 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatFlux.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatFlux.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private HeatFlux(double numericValue, HeatFluxUnit unit)
///
/// The base unit of HeatFlux, which is WattPerSquareMeter. All conversions go via this value.
///
- public static HeatFluxUnit BaseUnit => HeatFluxUnit.WattPerSquareMeter;
+ public static HeatFluxUnit BaseUnit { get; } = HeatFluxUnit.WattPerSquareMeter;
///
/// Represents the largest possible value of HeatFlux
///
- public static HeatFlux MaxValue => new HeatFlux(double.MaxValue, BaseUnit);
+ public static HeatFlux MaxValue { get; } = new HeatFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of HeatFlux
///
- public static HeatFlux MinValue => new HeatFlux(double.MinValue, BaseUnit);
+ public static HeatFlux MinValue { get; } = new HeatFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.HeatFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.HeatFlux;
///
/// All units of measurement for the HeatFlux quantity.
@@ -131,7 +131,7 @@ private HeatFlux(double numericValue, HeatFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerSquareMeter.
///
- public static HeatFlux Zero => new HeatFlux(0, BaseUnit);
+ public static HeatFlux Zero { get; } = new HeatFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatTransferCoefficient.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatTransferCoefficient.WindowsRuntimeComponent.g.cs
index 40413dc114..d939b00b16 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatTransferCoefficient.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatTransferCoefficient.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private HeatTransferCoefficient(double numericValue, HeatTransferCoefficientUnit
///
/// The base unit of HeatTransferCoefficient, which is WattPerSquareMeterKelvin. All conversions go via this value.
///
- public static HeatTransferCoefficientUnit BaseUnit => HeatTransferCoefficientUnit.WattPerSquareMeterKelvin;
+ public static HeatTransferCoefficientUnit BaseUnit { get; } = HeatTransferCoefficientUnit.WattPerSquareMeterKelvin;
///
/// Represents the largest possible value of HeatTransferCoefficient
///
- public static HeatTransferCoefficient MaxValue => new HeatTransferCoefficient(double.MaxValue, BaseUnit);
+ public static HeatTransferCoefficient MaxValue { get; } = new HeatTransferCoefficient(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of HeatTransferCoefficient
///
- public static HeatTransferCoefficient MinValue => new HeatTransferCoefficient(double.MinValue, BaseUnit);
+ public static HeatTransferCoefficient MinValue { get; } = new HeatTransferCoefficient(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.HeatTransferCoefficient;
+ public static QuantityType QuantityType { get; } = QuantityType.HeatTransferCoefficient;
///
/// All units of measurement for the HeatTransferCoefficient quantity.
@@ -131,7 +131,7 @@ private HeatTransferCoefficient(double numericValue, HeatTransferCoefficientUnit
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerSquareMeterKelvin.
///
- public static HeatTransferCoefficient Zero => new HeatTransferCoefficient(0, BaseUnit);
+ public static HeatTransferCoefficient Zero { get; } = new HeatTransferCoefficient(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Illuminance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Illuminance.WindowsRuntimeComponent.g.cs
index a5f6ee518a..db8d457c27 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Illuminance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Illuminance.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Illuminance(double numericValue, IlluminanceUnit unit)
///
/// The base unit of Illuminance, which is Lux. All conversions go via this value.
///
- public static IlluminanceUnit BaseUnit => IlluminanceUnit.Lux;
+ public static IlluminanceUnit BaseUnit { get; } = IlluminanceUnit.Lux;
///
/// Represents the largest possible value of Illuminance
///
- public static Illuminance MaxValue => new Illuminance(double.MaxValue, BaseUnit);
+ public static Illuminance MaxValue { get; } = new Illuminance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Illuminance
///
- public static Illuminance MinValue => new Illuminance(double.MinValue, BaseUnit);
+ public static Illuminance MinValue { get; } = new Illuminance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Illuminance;
+ public static QuantityType QuantityType { get; } = QuantityType.Illuminance;
///
/// All units of measurement for the Illuminance quantity.
@@ -134,7 +134,7 @@ private Illuminance(double numericValue, IlluminanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Lux.
///
- public static Illuminance Zero => new Illuminance(0, BaseUnit);
+ public static Illuminance Zero { get; } = new Illuminance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Information.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Information.WindowsRuntimeComponent.g.cs
index 8e51a2ef3f..22455abe25 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Information.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Information.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Information(decimal numericValue, InformationUnit unit)
///
/// The base unit of Information, which is Bit. All conversions go via this value.
///
- public static InformationUnit BaseUnit => InformationUnit.Bit;
+ public static InformationUnit BaseUnit { get; } = InformationUnit.Bit;
///
/// Represents the largest possible value of Information
///
- public static Information MaxValue => new Information(decimal.MaxValue, BaseUnit);
+ public static Information MaxValue { get; } = new Information(decimal.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Information
///
- public static Information MinValue => new Information(decimal.MinValue, BaseUnit);
+ public static Information MinValue { get; } = new Information(decimal.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Information;
+ public static QuantityType QuantityType { get; } = QuantityType.Information;
///
/// All units of measurement for the Information quantity.
@@ -131,7 +131,7 @@ private Information(decimal numericValue, InformationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Bit.
///
- public static Information Zero => new Information(0, BaseUnit);
+ public static Information Zero { get; } = new Information(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiance.WindowsRuntimeComponent.g.cs
index 87612c4635..e8bc9ba2cb 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiance.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Irradiance(double numericValue, IrradianceUnit unit)
///
/// The base unit of Irradiance, which is WattPerSquareMeter. All conversions go via this value.
///
- public static IrradianceUnit BaseUnit => IrradianceUnit.WattPerSquareMeter;
+ public static IrradianceUnit BaseUnit { get; } = IrradianceUnit.WattPerSquareMeter;
///
/// Represents the largest possible value of Irradiance
///
- public static Irradiance MaxValue => new Irradiance(double.MaxValue, BaseUnit);
+ public static Irradiance MaxValue { get; } = new Irradiance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Irradiance
///
- public static Irradiance MinValue => new Irradiance(double.MinValue, BaseUnit);
+ public static Irradiance MinValue { get; } = new Irradiance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Irradiance;
+ public static QuantityType QuantityType { get; } = QuantityType.Irradiance;
///
/// All units of measurement for the Irradiance quantity.
@@ -131,7 +131,7 @@ private Irradiance(double numericValue, IrradianceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerSquareMeter.
///
- public static Irradiance Zero => new Irradiance(0, BaseUnit);
+ public static Irradiance Zero { get; } = new Irradiance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiation.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiation.WindowsRuntimeComponent.g.cs
index 598771539f..ac31b948fa 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiation.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Irradiation.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Irradiation(double numericValue, IrradiationUnit unit)
///
/// The base unit of Irradiation, which is JoulePerSquareMeter. All conversions go via this value.
///
- public static IrradiationUnit BaseUnit => IrradiationUnit.JoulePerSquareMeter;
+ public static IrradiationUnit BaseUnit { get; } = IrradiationUnit.JoulePerSquareMeter;
///
/// Represents the largest possible value of Irradiation
///
- public static Irradiation MaxValue => new Irradiation(double.MaxValue, BaseUnit);
+ public static Irradiation MaxValue { get; } = new Irradiation(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Irradiation
///
- public static Irradiation MinValue => new Irradiation(double.MinValue, BaseUnit);
+ public static Irradiation MinValue { get; } = new Irradiation(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Irradiation;
+ public static QuantityType QuantityType { get; } = QuantityType.Irradiation;
///
/// All units of measurement for the Irradiation quantity.
@@ -134,7 +134,7 @@ private Irradiation(double numericValue, IrradiationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerSquareMeter.
///
- public static Irradiation Zero => new Irradiation(0, BaseUnit);
+ public static Irradiation Zero { get; } = new Irradiation(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/KinematicViscosity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/KinematicViscosity.WindowsRuntimeComponent.g.cs
index f2944f61d5..850806d6d3 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/KinematicViscosity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/KinematicViscosity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private KinematicViscosity(double numericValue, KinematicViscosityUnit unit)
///
/// The base unit of KinematicViscosity, which is SquareMeterPerSecond. All conversions go via this value.
///
- public static KinematicViscosityUnit BaseUnit => KinematicViscosityUnit.SquareMeterPerSecond;
+ public static KinematicViscosityUnit BaseUnit { get; } = KinematicViscosityUnit.SquareMeterPerSecond;
///
/// Represents the largest possible value of KinematicViscosity
///
- public static KinematicViscosity MaxValue => new KinematicViscosity(double.MaxValue, BaseUnit);
+ public static KinematicViscosity MaxValue { get; } = new KinematicViscosity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of KinematicViscosity
///
- public static KinematicViscosity MinValue => new KinematicViscosity(double.MinValue, BaseUnit);
+ public static KinematicViscosity MinValue { get; } = new KinematicViscosity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.KinematicViscosity;
+ public static QuantityType QuantityType { get; } = QuantityType.KinematicViscosity;
///
/// All units of measurement for the KinematicViscosity quantity.
@@ -134,7 +134,7 @@ private KinematicViscosity(double numericValue, KinematicViscosityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SquareMeterPerSecond.
///
- public static KinematicViscosity Zero => new KinematicViscosity(0, BaseUnit);
+ public static KinematicViscosity Zero { get; } = new KinematicViscosity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LapseRate.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LapseRate.WindowsRuntimeComponent.g.cs
index 1242a38c3d..c06e9e8ff7 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LapseRate.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LapseRate.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private LapseRate(double numericValue, LapseRateUnit unit)
///
/// The base unit of LapseRate, which is DegreeCelsiusPerKilometer. All conversions go via this value.
///
- public static LapseRateUnit BaseUnit => LapseRateUnit.DegreeCelsiusPerKilometer;
+ public static LapseRateUnit BaseUnit { get; } = LapseRateUnit.DegreeCelsiusPerKilometer;
///
/// Represents the largest possible value of LapseRate
///
- public static LapseRate MaxValue => new LapseRate(double.MaxValue, BaseUnit);
+ public static LapseRate MaxValue { get; } = new LapseRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LapseRate
///
- public static LapseRate MinValue => new LapseRate(double.MinValue, BaseUnit);
+ public static LapseRate MinValue { get; } = new LapseRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LapseRate;
+ public static QuantityType QuantityType { get; } = QuantityType.LapseRate;
///
/// All units of measurement for the LapseRate quantity.
@@ -131,7 +131,7 @@ private LapseRate(double numericValue, LapseRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DegreeCelsiusPerKilometer.
///
- public static LapseRate Zero => new LapseRate(0, BaseUnit);
+ public static LapseRate Zero { get; } = new LapseRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Length.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Length.WindowsRuntimeComponent.g.cs
index c3caf25b5d..27c0b1b62e 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Length.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Length.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Length(double numericValue, LengthUnit unit)
///
/// The base unit of Length, which is Meter. All conversions go via this value.
///
- public static LengthUnit BaseUnit => LengthUnit.Meter;
+ public static LengthUnit BaseUnit { get; } = LengthUnit.Meter;
///
/// Represents the largest possible value of Length
///
- public static Length MaxValue => new Length(double.MaxValue, BaseUnit);
+ public static Length MaxValue { get; } = new Length(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Length
///
- public static Length MinValue => new Length(double.MinValue, BaseUnit);
+ public static Length MinValue { get; } = new Length(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Length;
+ public static QuantityType QuantityType { get; } = QuantityType.Length;
///
/// All units of measurement for the Length quantity.
@@ -131,7 +131,7 @@ private Length(double numericValue, LengthUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Meter.
///
- public static Length Zero => new Length(0, BaseUnit);
+ public static Length Zero { get; } = new Length(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Level.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Level.WindowsRuntimeComponent.g.cs
index 67f61d03d0..15753301fa 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Level.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Level.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Level(double numericValue, LevelUnit unit)
///
/// The base unit of Level, which is Decibel. All conversions go via this value.
///
- public static LevelUnit BaseUnit => LevelUnit.Decibel;
+ public static LevelUnit BaseUnit { get; } = LevelUnit.Decibel;
///
/// Represents the largest possible value of Level
///
- public static Level MaxValue => new Level(double.MaxValue, BaseUnit);
+ public static Level MaxValue { get; } = new Level(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Level
///
- public static Level MinValue => new Level(double.MinValue, BaseUnit);
+ public static Level MinValue { get; } = new Level(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Level;
+ public static QuantityType QuantityType { get; } = QuantityType.Level;
///
/// All units of measurement for the Level quantity.
@@ -131,7 +131,7 @@ private Level(double numericValue, LevelUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Decibel.
///
- public static Level Zero => new Level(0, BaseUnit);
+ public static Level Zero { get; } = new Level(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LinearDensity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LinearDensity.WindowsRuntimeComponent.g.cs
index 7dad64c701..d363005ee2 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LinearDensity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LinearDensity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private LinearDensity(double numericValue, LinearDensityUnit unit)
///
/// The base unit of LinearDensity, which is KilogramPerMeter. All conversions go via this value.
///
- public static LinearDensityUnit BaseUnit => LinearDensityUnit.KilogramPerMeter;
+ public static LinearDensityUnit BaseUnit { get; } = LinearDensityUnit.KilogramPerMeter;
///
/// Represents the largest possible value of LinearDensity
///
- public static LinearDensity MaxValue => new LinearDensity(double.MaxValue, BaseUnit);
+ public static LinearDensity MaxValue { get; } = new LinearDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LinearDensity
///
- public static LinearDensity MinValue => new LinearDensity(double.MinValue, BaseUnit);
+ public static LinearDensity MinValue { get; } = new LinearDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LinearDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.LinearDensity;
///
/// All units of measurement for the LinearDensity quantity.
@@ -134,7 +134,7 @@ private LinearDensity(double numericValue, LinearDensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerMeter.
///
- public static LinearDensity Zero => new LinearDensity(0, BaseUnit);
+ public static LinearDensity Zero { get; } = new LinearDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousFlux.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousFlux.WindowsRuntimeComponent.g.cs
index 9d867e79a5..7ccd8f8ef4 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousFlux.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousFlux.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private LuminousFlux(double numericValue, LuminousFluxUnit unit)
///
/// The base unit of LuminousFlux, which is Lumen. All conversions go via this value.
///
- public static LuminousFluxUnit BaseUnit => LuminousFluxUnit.Lumen;
+ public static LuminousFluxUnit BaseUnit { get; } = LuminousFluxUnit.Lumen;
///
/// Represents the largest possible value of LuminousFlux
///
- public static LuminousFlux MaxValue => new LuminousFlux(double.MaxValue, BaseUnit);
+ public static LuminousFlux MaxValue { get; } = new LuminousFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LuminousFlux
///
- public static LuminousFlux MinValue => new LuminousFlux(double.MinValue, BaseUnit);
+ public static LuminousFlux MinValue { get; } = new LuminousFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LuminousFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.LuminousFlux;
///
/// All units of measurement for the LuminousFlux quantity.
@@ -134,7 +134,7 @@ private LuminousFlux(double numericValue, LuminousFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Lumen.
///
- public static LuminousFlux Zero => new LuminousFlux(0, BaseUnit);
+ public static LuminousFlux Zero { get; } = new LuminousFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousIntensity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousIntensity.WindowsRuntimeComponent.g.cs
index 6ba10e506e..0852f82a46 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousIntensity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/LuminousIntensity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private LuminousIntensity(double numericValue, LuminousIntensityUnit unit)
///
/// The base unit of LuminousIntensity, which is Candela. All conversions go via this value.
///
- public static LuminousIntensityUnit BaseUnit => LuminousIntensityUnit.Candela;
+ public static LuminousIntensityUnit BaseUnit { get; } = LuminousIntensityUnit.Candela;
///
/// Represents the largest possible value of LuminousIntensity
///
- public static LuminousIntensity MaxValue => new LuminousIntensity(double.MaxValue, BaseUnit);
+ public static LuminousIntensity MaxValue { get; } = new LuminousIntensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LuminousIntensity
///
- public static LuminousIntensity MinValue => new LuminousIntensity(double.MinValue, BaseUnit);
+ public static LuminousIntensity MinValue { get; } = new LuminousIntensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LuminousIntensity;
+ public static QuantityType QuantityType { get; } = QuantityType.LuminousIntensity;
///
/// All units of measurement for the LuminousIntensity quantity.
@@ -134,7 +134,7 @@ private LuminousIntensity(double numericValue, LuminousIntensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Candela.
///
- public static LuminousIntensity Zero => new LuminousIntensity(0, BaseUnit);
+ public static LuminousIntensity Zero { get; } = new LuminousIntensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticField.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticField.WindowsRuntimeComponent.g.cs
index 86caad02ba..aa2a621aa7 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticField.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticField.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private MagneticField(double numericValue, MagneticFieldUnit unit)
///
/// The base unit of MagneticField, which is Tesla. All conversions go via this value.
///
- public static MagneticFieldUnit BaseUnit => MagneticFieldUnit.Tesla;
+ public static MagneticFieldUnit BaseUnit { get; } = MagneticFieldUnit.Tesla;
///
/// Represents the largest possible value of MagneticField
///
- public static MagneticField MaxValue => new MagneticField(double.MaxValue, BaseUnit);
+ public static MagneticField MaxValue { get; } = new MagneticField(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MagneticField
///
- public static MagneticField MinValue => new MagneticField(double.MinValue, BaseUnit);
+ public static MagneticField MinValue { get; } = new MagneticField(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MagneticField;
+ public static QuantityType QuantityType { get; } = QuantityType.MagneticField;
///
/// All units of measurement for the MagneticField quantity.
@@ -134,7 +134,7 @@ private MagneticField(double numericValue, MagneticFieldUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Tesla.
///
- public static MagneticField Zero => new MagneticField(0, BaseUnit);
+ public static MagneticField Zero { get; } = new MagneticField(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticFlux.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticFlux.WindowsRuntimeComponent.g.cs
index ba0b4d1bb1..4d9a704788 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticFlux.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MagneticFlux.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private MagneticFlux(double numericValue, MagneticFluxUnit unit)
///
/// The base unit of MagneticFlux, which is Weber. All conversions go via this value.
///
- public static MagneticFluxUnit BaseUnit => MagneticFluxUnit.Weber;
+ public static MagneticFluxUnit BaseUnit { get; } = MagneticFluxUnit.Weber;
///
/// Represents the largest possible value of MagneticFlux
///
- public static MagneticFlux MaxValue => new MagneticFlux(double.MaxValue, BaseUnit);
+ public static MagneticFlux MaxValue { get; } = new MagneticFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MagneticFlux
///
- public static MagneticFlux MinValue => new MagneticFlux(double.MinValue, BaseUnit);
+ public static MagneticFlux MinValue { get; } = new MagneticFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MagneticFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.MagneticFlux;
///
/// All units of measurement for the MagneticFlux quantity.
@@ -134,7 +134,7 @@ private MagneticFlux(double numericValue, MagneticFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Weber.
///
- public static MagneticFlux Zero => new MagneticFlux(0, BaseUnit);
+ public static MagneticFlux Zero { get; } = new MagneticFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Magnetization.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Magnetization.WindowsRuntimeComponent.g.cs
index 0c3a26cf2d..4291d2a12e 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Magnetization.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Magnetization.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Magnetization(double numericValue, MagnetizationUnit unit)
///
/// The base unit of Magnetization, which is AmperePerMeter. All conversions go via this value.
///
- public static MagnetizationUnit BaseUnit => MagnetizationUnit.AmperePerMeter;
+ public static MagnetizationUnit BaseUnit { get; } = MagnetizationUnit.AmperePerMeter;
///
/// Represents the largest possible value of Magnetization
///
- public static Magnetization MaxValue => new Magnetization(double.MaxValue, BaseUnit);
+ public static Magnetization MaxValue { get; } = new Magnetization(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Magnetization
///
- public static Magnetization MinValue => new Magnetization(double.MinValue, BaseUnit);
+ public static Magnetization MinValue { get; } = new Magnetization(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Magnetization;
+ public static QuantityType QuantityType { get; } = QuantityType.Magnetization;
///
/// All units of measurement for the Magnetization quantity.
@@ -134,7 +134,7 @@ private Magnetization(double numericValue, MagnetizationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit AmperePerMeter.
///
- public static Magnetization Zero => new Magnetization(0, BaseUnit);
+ public static Magnetization Zero { get; } = new Magnetization(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Mass.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Mass.WindowsRuntimeComponent.g.cs
index 6151a5f747..fba18671c9 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Mass.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Mass.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Mass(double numericValue, MassUnit unit)
///
/// The base unit of Mass, which is Kilogram. All conversions go via this value.
///
- public static MassUnit BaseUnit => MassUnit.Kilogram;
+ public static MassUnit BaseUnit { get; } = MassUnit.Kilogram;
///
/// Represents the largest possible value of Mass
///
- public static Mass MaxValue => new Mass(double.MaxValue, BaseUnit);
+ public static Mass MaxValue { get; } = new Mass(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Mass
///
- public static Mass MinValue => new Mass(double.MinValue, BaseUnit);
+ public static Mass MinValue { get; } = new Mass(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Mass;
+ public static QuantityType QuantityType { get; } = QuantityType.Mass;
///
/// All units of measurement for the Mass quantity.
@@ -131,7 +131,7 @@ private Mass(double numericValue, MassUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Kilogram.
///
- public static Mass Zero => new Mass(0, BaseUnit);
+ public static Mass Zero { get; } = new Mass(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlow.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlow.WindowsRuntimeComponent.g.cs
index 201a361242..14c4cb7557 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlow.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlow.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private MassFlow(double numericValue, MassFlowUnit unit)
///
/// The base unit of MassFlow, which is GramPerSecond. All conversions go via this value.
///
- public static MassFlowUnit BaseUnit => MassFlowUnit.GramPerSecond;
+ public static MassFlowUnit BaseUnit { get; } = MassFlowUnit.GramPerSecond;
///
/// Represents the largest possible value of MassFlow
///
- public static MassFlow MaxValue => new MassFlow(double.MaxValue, BaseUnit);
+ public static MassFlow MaxValue { get; } = new MassFlow(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MassFlow
///
- public static MassFlow MinValue => new MassFlow(double.MinValue, BaseUnit);
+ public static MassFlow MinValue { get; } = new MassFlow(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MassFlow;
+ public static QuantityType QuantityType { get; } = QuantityType.MassFlow;
///
/// All units of measurement for the MassFlow quantity.
@@ -131,7 +131,7 @@ private MassFlow(double numericValue, MassFlowUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit GramPerSecond.
///
- public static MassFlow Zero => new MassFlow(0, BaseUnit);
+ public static MassFlow Zero { get; } = new MassFlow(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlux.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlux.WindowsRuntimeComponent.g.cs
index 32a8c1697c..33d9390752 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlux.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassFlux.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private MassFlux(double numericValue, MassFluxUnit unit)
///
/// The base unit of MassFlux, which is KilogramPerSecondPerSquareMeter. All conversions go via this value.
///
- public static MassFluxUnit BaseUnit => MassFluxUnit.KilogramPerSecondPerSquareMeter;
+ public static MassFluxUnit BaseUnit { get; } = MassFluxUnit.KilogramPerSecondPerSquareMeter;
///
/// Represents the largest possible value of MassFlux
///
- public static MassFlux MaxValue => new MassFlux(double.MaxValue, BaseUnit);
+ public static MassFlux MaxValue { get; } = new MassFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MassFlux
///
- public static MassFlux MinValue => new MassFlux(double.MinValue, BaseUnit);
+ public static MassFlux MinValue { get; } = new MassFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MassFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.MassFlux;
///
/// All units of measurement for the MassFlux quantity.
@@ -131,7 +131,7 @@ private MassFlux(double numericValue, MassFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerSecondPerSquareMeter.
///
- public static MassFlux Zero => new MassFlux(0, BaseUnit);
+ public static MassFlux Zero { get; } = new MassFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassMomentOfInertia.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassMomentOfInertia.WindowsRuntimeComponent.g.cs
index 39191b30f7..893be9d39d 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassMomentOfInertia.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MassMomentOfInertia.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private MassMomentOfInertia(double numericValue, MassMomentOfInertiaUnit unit)
///
/// The base unit of MassMomentOfInertia, which is KilogramSquareMeter. All conversions go via this value.
///
- public static MassMomentOfInertiaUnit BaseUnit => MassMomentOfInertiaUnit.KilogramSquareMeter;
+ public static MassMomentOfInertiaUnit BaseUnit { get; } = MassMomentOfInertiaUnit.KilogramSquareMeter;
///
/// Represents the largest possible value of MassMomentOfInertia
///
- public static MassMomentOfInertia MaxValue => new MassMomentOfInertia(double.MaxValue, BaseUnit);
+ public static MassMomentOfInertia MaxValue { get; } = new MassMomentOfInertia(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MassMomentOfInertia
///
- public static MassMomentOfInertia MinValue => new MassMomentOfInertia(double.MinValue, BaseUnit);
+ public static MassMomentOfInertia MinValue { get; } = new MassMomentOfInertia(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MassMomentOfInertia;
+ public static QuantityType QuantityType { get; } = QuantityType.MassMomentOfInertia;
///
/// All units of measurement for the MassMomentOfInertia quantity.
@@ -131,7 +131,7 @@ private MassMomentOfInertia(double numericValue, MassMomentOfInertiaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramSquareMeter.
///
- public static MassMomentOfInertia Zero => new MassMomentOfInertia(0, BaseUnit);
+ public static MassMomentOfInertia Zero { get; } = new MassMomentOfInertia(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEnergy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEnergy.WindowsRuntimeComponent.g.cs
index e52392f58c..b67a6bb2eb 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEnergy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEnergy.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private MolarEnergy(double numericValue, MolarEnergyUnit unit)
///
/// The base unit of MolarEnergy, which is JoulePerMole. All conversions go via this value.
///
- public static MolarEnergyUnit BaseUnit => MolarEnergyUnit.JoulePerMole;
+ public static MolarEnergyUnit BaseUnit { get; } = MolarEnergyUnit.JoulePerMole;
///
/// Represents the largest possible value of MolarEnergy
///
- public static MolarEnergy MaxValue => new MolarEnergy(double.MaxValue, BaseUnit);
+ public static MolarEnergy MaxValue { get; } = new MolarEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MolarEnergy
///
- public static MolarEnergy MinValue => new MolarEnergy(double.MinValue, BaseUnit);
+ public static MolarEnergy MinValue { get; } = new MolarEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MolarEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.MolarEnergy;
///
/// All units of measurement for the MolarEnergy quantity.
@@ -131,7 +131,7 @@ private MolarEnergy(double numericValue, MolarEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerMole.
///
- public static MolarEnergy Zero => new MolarEnergy(0, BaseUnit);
+ public static MolarEnergy Zero { get; } = new MolarEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEntropy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEntropy.WindowsRuntimeComponent.g.cs
index 8aeef88d13..147d033aae 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEntropy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarEntropy.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private MolarEntropy(double numericValue, MolarEntropyUnit unit)
///
/// The base unit of MolarEntropy, which is JoulePerMoleKelvin. All conversions go via this value.
///
- public static MolarEntropyUnit BaseUnit => MolarEntropyUnit.JoulePerMoleKelvin;
+ public static MolarEntropyUnit BaseUnit { get; } = MolarEntropyUnit.JoulePerMoleKelvin;
///
/// Represents the largest possible value of MolarEntropy
///
- public static MolarEntropy MaxValue => new MolarEntropy(double.MaxValue, BaseUnit);
+ public static MolarEntropy MaxValue { get; } = new MolarEntropy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MolarEntropy
///
- public static MolarEntropy MinValue => new MolarEntropy(double.MinValue, BaseUnit);
+ public static MolarEntropy MinValue { get; } = new MolarEntropy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MolarEntropy;
+ public static QuantityType QuantityType { get; } = QuantityType.MolarEntropy;
///
/// All units of measurement for the MolarEntropy quantity.
@@ -131,7 +131,7 @@ private MolarEntropy(double numericValue, MolarEntropyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerMoleKelvin.
///
- public static MolarEntropy Zero => new MolarEntropy(0, BaseUnit);
+ public static MolarEntropy Zero { get; } = new MolarEntropy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarMass.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarMass.WindowsRuntimeComponent.g.cs
index 3c1d4158ed..90b42e3281 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarMass.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/MolarMass.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private MolarMass(double numericValue, MolarMassUnit unit)
///
/// The base unit of MolarMass, which is KilogramPerMole. All conversions go via this value.
///
- public static MolarMassUnit BaseUnit => MolarMassUnit.KilogramPerMole;
+ public static MolarMassUnit BaseUnit { get; } = MolarMassUnit.KilogramPerMole;
///
/// Represents the largest possible value of MolarMass
///
- public static MolarMass MaxValue => new MolarMass(double.MaxValue, BaseUnit);
+ public static MolarMass MaxValue { get; } = new MolarMass(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MolarMass
///
- public static MolarMass MinValue => new MolarMass(double.MinValue, BaseUnit);
+ public static MolarMass MinValue { get; } = new MolarMass(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MolarMass;
+ public static QuantityType QuantityType { get; } = QuantityType.MolarMass;
///
/// All units of measurement for the MolarMass quantity.
@@ -131,7 +131,7 @@ private MolarMass(double numericValue, MolarMassUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerMole.
///
- public static MolarMass Zero => new MolarMass(0, BaseUnit);
+ public static MolarMass Zero { get; } = new MolarMass(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Molarity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Molarity.WindowsRuntimeComponent.g.cs
index f84d42c175..b7be810adf 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Molarity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Molarity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Molarity(double numericValue, MolarityUnit unit)
///
/// The base unit of Molarity, which is MolesPerCubicMeter. All conversions go via this value.
///
- public static MolarityUnit BaseUnit => MolarityUnit.MolesPerCubicMeter;
+ public static MolarityUnit BaseUnit { get; } = MolarityUnit.MolesPerCubicMeter;
///
/// Represents the largest possible value of Molarity
///
- public static Molarity MaxValue => new Molarity(double.MaxValue, BaseUnit);
+ public static Molarity MaxValue { get; } = new Molarity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Molarity
///
- public static Molarity MinValue => new Molarity(double.MinValue, BaseUnit);
+ public static Molarity MinValue { get; } = new Molarity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Molarity;
+ public static QuantityType QuantityType { get; } = QuantityType.Molarity;
///
/// All units of measurement for the Molarity quantity.
@@ -134,7 +134,7 @@ private Molarity(double numericValue, MolarityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MolesPerCubicMeter.
///
- public static Molarity Zero => new Molarity(0, BaseUnit);
+ public static Molarity Zero { get; } = new Molarity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permeability.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permeability.WindowsRuntimeComponent.g.cs
index 2916a7cc26..512fe996d8 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permeability.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permeability.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Permeability(double numericValue, PermeabilityUnit unit)
///
/// The base unit of Permeability, which is HenryPerMeter. All conversions go via this value.
///
- public static PermeabilityUnit BaseUnit => PermeabilityUnit.HenryPerMeter;
+ public static PermeabilityUnit BaseUnit { get; } = PermeabilityUnit.HenryPerMeter;
///
/// Represents the largest possible value of Permeability
///
- public static Permeability MaxValue => new Permeability(double.MaxValue, BaseUnit);
+ public static Permeability MaxValue { get; } = new Permeability(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Permeability
///
- public static Permeability MinValue => new Permeability(double.MinValue, BaseUnit);
+ public static Permeability MinValue { get; } = new Permeability(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Permeability;
+ public static QuantityType QuantityType { get; } = QuantityType.Permeability;
///
/// All units of measurement for the Permeability quantity.
@@ -134,7 +134,7 @@ private Permeability(double numericValue, PermeabilityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit HenryPerMeter.
///
- public static Permeability Zero => new Permeability(0, BaseUnit);
+ public static Permeability Zero { get; } = new Permeability(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permittivity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permittivity.WindowsRuntimeComponent.g.cs
index 8ddb1a058e..19ee1e46b7 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permittivity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Permittivity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private Permittivity(double numericValue, PermittivityUnit unit)
///
/// The base unit of Permittivity, which is FaradPerMeter. All conversions go via this value.
///
- public static PermittivityUnit BaseUnit => PermittivityUnit.FaradPerMeter;
+ public static PermittivityUnit BaseUnit { get; } = PermittivityUnit.FaradPerMeter;
///
/// Represents the largest possible value of Permittivity
///
- public static Permittivity MaxValue => new Permittivity(double.MaxValue, BaseUnit);
+ public static Permittivity MaxValue { get; } = new Permittivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Permittivity
///
- public static Permittivity MinValue => new Permittivity(double.MinValue, BaseUnit);
+ public static Permittivity MinValue { get; } = new Permittivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Permittivity;
+ public static QuantityType QuantityType { get; } = QuantityType.Permittivity;
///
/// All units of measurement for the Permittivity quantity.
@@ -134,7 +134,7 @@ private Permittivity(double numericValue, PermittivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit FaradPerMeter.
///
- public static Permittivity Zero => new Permittivity(0, BaseUnit);
+ public static Permittivity Zero { get; } = new Permittivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Power.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Power.WindowsRuntimeComponent.g.cs
index 142abfee8c..53d06b9af2 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Power.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Power.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Power(decimal numericValue, PowerUnit unit)
///
/// The base unit of Power, which is Watt. All conversions go via this value.
///
- public static PowerUnit BaseUnit => PowerUnit.Watt;
+ public static PowerUnit BaseUnit { get; } = PowerUnit.Watt;
///
/// Represents the largest possible value of Power
///
- public static Power MaxValue => new Power(decimal.MaxValue, BaseUnit);
+ public static Power MaxValue { get; } = new Power(decimal.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Power
///
- public static Power MinValue => new Power(decimal.MinValue, BaseUnit);
+ public static Power MinValue { get; } = new Power(decimal.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Power;
+ public static QuantityType QuantityType { get; } = QuantityType.Power;
///
/// All units of measurement for the Power quantity.
@@ -131,7 +131,7 @@ private Power(decimal numericValue, PowerUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Watt.
///
- public static Power Zero => new Power(0, BaseUnit);
+ public static Power Zero { get; } = new Power(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerDensity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerDensity.WindowsRuntimeComponent.g.cs
index 47ea186351..49230b2271 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerDensity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerDensity.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private PowerDensity(double numericValue, PowerDensityUnit unit)
///
/// The base unit of PowerDensity, which is WattPerCubicMeter. All conversions go via this value.
///
- public static PowerDensityUnit BaseUnit => PowerDensityUnit.WattPerCubicMeter;
+ public static PowerDensityUnit BaseUnit { get; } = PowerDensityUnit.WattPerCubicMeter;
///
/// Represents the largest possible value of PowerDensity
///
- public static PowerDensity MaxValue => new PowerDensity(double.MaxValue, BaseUnit);
+ public static PowerDensity MaxValue { get; } = new PowerDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of PowerDensity
///
- public static PowerDensity MinValue => new PowerDensity(double.MinValue, BaseUnit);
+ public static PowerDensity MinValue { get; } = new PowerDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.PowerDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.PowerDensity;
///
/// All units of measurement for the PowerDensity quantity.
@@ -131,7 +131,7 @@ private PowerDensity(double numericValue, PowerDensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerCubicMeter.
///
- public static PowerDensity Zero => new PowerDensity(0, BaseUnit);
+ public static PowerDensity Zero { get; } = new PowerDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerRatio.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerRatio.WindowsRuntimeComponent.g.cs
index e603267b0e..379026875a 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerRatio.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerRatio.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private PowerRatio(double numericValue, PowerRatioUnit unit)
///
/// The base unit of PowerRatio, which is DecibelWatt. All conversions go via this value.
///
- public static PowerRatioUnit BaseUnit => PowerRatioUnit.DecibelWatt;
+ public static PowerRatioUnit BaseUnit { get; } = PowerRatioUnit.DecibelWatt;
///
/// Represents the largest possible value of PowerRatio
///
- public static PowerRatio MaxValue => new PowerRatio(double.MaxValue, BaseUnit);
+ public static PowerRatio MaxValue { get; } = new PowerRatio(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of PowerRatio
///
- public static PowerRatio MinValue => new PowerRatio(double.MinValue, BaseUnit);
+ public static PowerRatio MinValue { get; } = new PowerRatio(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.PowerRatio;
+ public static QuantityType QuantityType { get; } = QuantityType.PowerRatio;
///
/// All units of measurement for the PowerRatio quantity.
@@ -131,7 +131,7 @@ private PowerRatio(double numericValue, PowerRatioUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DecibelWatt.
///
- public static PowerRatio Zero => new PowerRatio(0, BaseUnit);
+ public static PowerRatio Zero { get; } = new PowerRatio(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Pressure.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Pressure.WindowsRuntimeComponent.g.cs
index 8785243aa8..f22554a681 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Pressure.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Pressure.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Pressure(double numericValue, PressureUnit unit)
///
/// The base unit of Pressure, which is Pascal. All conversions go via this value.
///
- public static PressureUnit BaseUnit => PressureUnit.Pascal;
+ public static PressureUnit BaseUnit { get; } = PressureUnit.Pascal;
///
/// Represents the largest possible value of Pressure
///
- public static Pressure MaxValue => new Pressure(double.MaxValue, BaseUnit);
+ public static Pressure MaxValue { get; } = new Pressure(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Pressure
///
- public static Pressure MinValue => new Pressure(double.MinValue, BaseUnit);
+ public static Pressure MinValue { get; } = new Pressure(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Pressure;
+ public static QuantityType QuantityType { get; } = QuantityType.Pressure;
///
/// All units of measurement for the Pressure quantity.
@@ -131,7 +131,7 @@ private Pressure(double numericValue, PressureUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Pascal.
///
- public static Pressure Zero => new Pressure(0, BaseUnit);
+ public static Pressure Zero { get; } = new Pressure(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PressureChangeRate.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PressureChangeRate.WindowsRuntimeComponent.g.cs
index 8b74cbc58a..945ea331e7 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PressureChangeRate.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PressureChangeRate.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private PressureChangeRate(double numericValue, PressureChangeRateUnit unit)
///
/// The base unit of PressureChangeRate, which is PascalPerSecond. All conversions go via this value.
///
- public static PressureChangeRateUnit BaseUnit => PressureChangeRateUnit.PascalPerSecond;
+ public static PressureChangeRateUnit BaseUnit { get; } = PressureChangeRateUnit.PascalPerSecond;
///
/// Represents the largest possible value of PressureChangeRate
///
- public static PressureChangeRate MaxValue => new PressureChangeRate(double.MaxValue, BaseUnit);
+ public static PressureChangeRate MaxValue { get; } = new PressureChangeRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of PressureChangeRate
///
- public static PressureChangeRate MinValue => new PressureChangeRate(double.MinValue, BaseUnit);
+ public static PressureChangeRate MinValue { get; } = new PressureChangeRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.PressureChangeRate;
+ public static QuantityType QuantityType { get; } = QuantityType.PressureChangeRate;
///
/// All units of measurement for the PressureChangeRate quantity.
@@ -131,7 +131,7 @@ private PressureChangeRate(double numericValue, PressureChangeRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit PascalPerSecond.
///
- public static PressureChangeRate Zero => new PressureChangeRate(0, BaseUnit);
+ public static PressureChangeRate Zero { get; } = new PressureChangeRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Ratio.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Ratio.WindowsRuntimeComponent.g.cs
index 8eb8809246..851524fe9d 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Ratio.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Ratio.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Ratio(double numericValue, RatioUnit unit)
///
/// The base unit of Ratio, which is DecimalFraction. All conversions go via this value.
///
- public static RatioUnit BaseUnit => RatioUnit.DecimalFraction;
+ public static RatioUnit BaseUnit { get; } = RatioUnit.DecimalFraction;
///
/// Represents the largest possible value of Ratio
///
- public static Ratio MaxValue => new Ratio(double.MaxValue, BaseUnit);
+ public static Ratio MaxValue { get; } = new Ratio(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Ratio
///
- public static Ratio MinValue => new Ratio(double.MinValue, BaseUnit);
+ public static Ratio MinValue { get; } = new Ratio(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Ratio;
+ public static QuantityType QuantityType { get; } = QuantityType.Ratio;
///
/// All units of measurement for the Ratio quantity.
@@ -131,7 +131,7 @@ private Ratio(double numericValue, RatioUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DecimalFraction.
///
- public static Ratio Zero => new Ratio(0, BaseUnit);
+ public static Ratio Zero { get; } = new Ratio(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactiveEnergy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactiveEnergy.WindowsRuntimeComponent.g.cs
index 4416fafce4..69d606ef62 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactiveEnergy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactiveEnergy.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ReactiveEnergy(double numericValue, ReactiveEnergyUnit unit)
///
/// The base unit of ReactiveEnergy, which is VoltampereReactiveHour. All conversions go via this value.
///
- public static ReactiveEnergyUnit BaseUnit => ReactiveEnergyUnit.VoltampereReactiveHour;
+ public static ReactiveEnergyUnit BaseUnit { get; } = ReactiveEnergyUnit.VoltampereReactiveHour;
///
/// Represents the largest possible value of ReactiveEnergy
///
- public static ReactiveEnergy MaxValue => new ReactiveEnergy(double.MaxValue, BaseUnit);
+ public static ReactiveEnergy MaxValue { get; } = new ReactiveEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ReactiveEnergy
///
- public static ReactiveEnergy MinValue => new ReactiveEnergy(double.MinValue, BaseUnit);
+ public static ReactiveEnergy MinValue { get; } = new ReactiveEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ReactiveEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.ReactiveEnergy;
///
/// All units of measurement for the ReactiveEnergy quantity.
@@ -131,7 +131,7 @@ private ReactiveEnergy(double numericValue, ReactiveEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltampereReactiveHour.
///
- public static ReactiveEnergy Zero => new ReactiveEnergy(0, BaseUnit);
+ public static ReactiveEnergy Zero { get; } = new ReactiveEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactivePower.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactivePower.WindowsRuntimeComponent.g.cs
index 586c4fba33..ae479bc556 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactivePower.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ReactivePower.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ReactivePower(double numericValue, ReactivePowerUnit unit)
///
/// The base unit of ReactivePower, which is VoltampereReactive. All conversions go via this value.
///
- public static ReactivePowerUnit BaseUnit => ReactivePowerUnit.VoltampereReactive;
+ public static ReactivePowerUnit BaseUnit { get; } = ReactivePowerUnit.VoltampereReactive;
///
/// Represents the largest possible value of ReactivePower
///
- public static ReactivePower MaxValue => new ReactivePower(double.MaxValue, BaseUnit);
+ public static ReactivePower MaxValue { get; } = new ReactivePower(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ReactivePower
///
- public static ReactivePower MinValue => new ReactivePower(double.MinValue, BaseUnit);
+ public static ReactivePower MinValue { get; } = new ReactivePower(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ReactivePower;
+ public static QuantityType QuantityType { get; } = QuantityType.ReactivePower;
///
/// All units of measurement for the ReactivePower quantity.
@@ -131,7 +131,7 @@ private ReactivePower(double numericValue, ReactivePowerUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltampereReactive.
///
- public static ReactivePower Zero => new ReactivePower(0, BaseUnit);
+ public static ReactivePower Zero { get; } = new ReactivePower(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalAcceleration.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalAcceleration.WindowsRuntimeComponent.g.cs
index f8b24a5ec0..c8b80cb06d 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalAcceleration.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalAcceleration.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private RotationalAcceleration(double numericValue, RotationalAccelerationUnit u
///
/// The base unit of RotationalAcceleration, which is RadianPerSecondSquared. All conversions go via this value.
///
- public static RotationalAccelerationUnit BaseUnit => RotationalAccelerationUnit.RadianPerSecondSquared;
+ public static RotationalAccelerationUnit BaseUnit { get; } = RotationalAccelerationUnit.RadianPerSecondSquared;
///
/// Represents the largest possible value of RotationalAcceleration
///
- public static RotationalAcceleration MaxValue => new RotationalAcceleration(double.MaxValue, BaseUnit);
+ public static RotationalAcceleration MaxValue { get; } = new RotationalAcceleration(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalAcceleration
///
- public static RotationalAcceleration MinValue => new RotationalAcceleration(double.MinValue, BaseUnit);
+ public static RotationalAcceleration MinValue { get; } = new RotationalAcceleration(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalAcceleration;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalAcceleration;
///
/// All units of measurement for the RotationalAcceleration quantity.
@@ -131,7 +131,7 @@ private RotationalAcceleration(double numericValue, RotationalAccelerationUnit u
///
/// Gets an instance of this quantity with a value of 0 in the base unit RadianPerSecondSquared.
///
- public static RotationalAcceleration Zero => new RotationalAcceleration(0, BaseUnit);
+ public static RotationalAcceleration Zero { get; } = new RotationalAcceleration(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalSpeed.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalSpeed.WindowsRuntimeComponent.g.cs
index 9a2c78e98a..7dfdd3637c 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalSpeed.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalSpeed.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private RotationalSpeed(double numericValue, RotationalSpeedUnit unit)
///
/// The base unit of RotationalSpeed, which is RadianPerSecond. All conversions go via this value.
///
- public static RotationalSpeedUnit BaseUnit => RotationalSpeedUnit.RadianPerSecond;
+ public static RotationalSpeedUnit BaseUnit { get; } = RotationalSpeedUnit.RadianPerSecond;
///
/// Represents the largest possible value of RotationalSpeed
///
- public static RotationalSpeed MaxValue => new RotationalSpeed(double.MaxValue, BaseUnit);
+ public static RotationalSpeed MaxValue { get; } = new RotationalSpeed(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalSpeed
///
- public static RotationalSpeed MinValue => new RotationalSpeed(double.MinValue, BaseUnit);
+ public static RotationalSpeed MinValue { get; } = new RotationalSpeed(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalSpeed;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalSpeed;
///
/// All units of measurement for the RotationalSpeed quantity.
@@ -131,7 +131,7 @@ private RotationalSpeed(double numericValue, RotationalSpeedUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit RadianPerSecond.
///
- public static RotationalSpeed Zero => new RotationalSpeed(0, BaseUnit);
+ public static RotationalSpeed Zero { get; } = new RotationalSpeed(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffness.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffness.WindowsRuntimeComponent.g.cs
index 61fc5c97dd..c85dc7c89a 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffness.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffness.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private RotationalStiffness(double numericValue, RotationalStiffnessUnit unit)
///
/// The base unit of RotationalStiffness, which is NewtonMeterPerRadian. All conversions go via this value.
///
- public static RotationalStiffnessUnit BaseUnit => RotationalStiffnessUnit.NewtonMeterPerRadian;
+ public static RotationalStiffnessUnit BaseUnit { get; } = RotationalStiffnessUnit.NewtonMeterPerRadian;
///
/// Represents the largest possible value of RotationalStiffness
///
- public static RotationalStiffness MaxValue => new RotationalStiffness(double.MaxValue, BaseUnit);
+ public static RotationalStiffness MaxValue { get; } = new RotationalStiffness(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalStiffness
///
- public static RotationalStiffness MinValue => new RotationalStiffness(double.MinValue, BaseUnit);
+ public static RotationalStiffness MinValue { get; } = new RotationalStiffness(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalStiffness;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalStiffness;
///
/// All units of measurement for the RotationalStiffness quantity.
@@ -131,7 +131,7 @@ private RotationalStiffness(double numericValue, RotationalStiffnessUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonMeterPerRadian.
///
- public static RotationalStiffness Zero => new RotationalStiffness(0, BaseUnit);
+ public static RotationalStiffness Zero { get; } = new RotationalStiffness(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffnessPerLength.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffnessPerLength.WindowsRuntimeComponent.g.cs
index 2e47b2cfe3..977440ed79 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffnessPerLength.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/RotationalStiffnessPerLength.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private RotationalStiffnessPerLength(double numericValue, RotationalStiffnessPer
///
/// The base unit of RotationalStiffnessPerLength, which is NewtonMeterPerRadianPerMeter. All conversions go via this value.
///
- public static RotationalStiffnessPerLengthUnit BaseUnit => RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter;
+ public static RotationalStiffnessPerLengthUnit BaseUnit { get; } = RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter;
///
/// Represents the largest possible value of RotationalStiffnessPerLength
///
- public static RotationalStiffnessPerLength MaxValue => new RotationalStiffnessPerLength(double.MaxValue, BaseUnit);
+ public static RotationalStiffnessPerLength MaxValue { get; } = new RotationalStiffnessPerLength(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalStiffnessPerLength
///
- public static RotationalStiffnessPerLength MinValue => new RotationalStiffnessPerLength(double.MinValue, BaseUnit);
+ public static RotationalStiffnessPerLength MinValue { get; } = new RotationalStiffnessPerLength(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalStiffnessPerLength;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalStiffnessPerLength;
///
/// All units of measurement for the RotationalStiffnessPerLength quantity.
@@ -131,7 +131,7 @@ private RotationalStiffnessPerLength(double numericValue, RotationalStiffnessPer
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonMeterPerRadianPerMeter.
///
- public static RotationalStiffnessPerLength Zero => new RotationalStiffnessPerLength(0, BaseUnit);
+ public static RotationalStiffnessPerLength Zero { get; } = new RotationalStiffnessPerLength(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SolidAngle.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SolidAngle.WindowsRuntimeComponent.g.cs
index 77bdb7da20..d2a27d85c9 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SolidAngle.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SolidAngle.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private SolidAngle(double numericValue, SolidAngleUnit unit)
///
/// The base unit of SolidAngle, which is Steradian. All conversions go via this value.
///
- public static SolidAngleUnit BaseUnit => SolidAngleUnit.Steradian;
+ public static SolidAngleUnit BaseUnit { get; } = SolidAngleUnit.Steradian;
///
/// Represents the largest possible value of SolidAngle
///
- public static SolidAngle MaxValue => new SolidAngle(double.MaxValue, BaseUnit);
+ public static SolidAngle MaxValue { get; } = new SolidAngle(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SolidAngle
///
- public static SolidAngle MinValue => new SolidAngle(double.MinValue, BaseUnit);
+ public static SolidAngle MinValue { get; } = new SolidAngle(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SolidAngle;
+ public static QuantityType QuantityType { get; } = QuantityType.SolidAngle;
///
/// All units of measurement for the SolidAngle quantity.
@@ -134,7 +134,7 @@ private SolidAngle(double numericValue, SolidAngleUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Steradian.
///
- public static SolidAngle Zero => new SolidAngle(0, BaseUnit);
+ public static SolidAngle Zero { get; } = new SolidAngle(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEnergy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEnergy.WindowsRuntimeComponent.g.cs
index 734fa9e4ca..3703e3b3c9 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEnergy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEnergy.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private SpecificEnergy(double numericValue, SpecificEnergyUnit unit)
///
/// The base unit of SpecificEnergy, which is JoulePerKilogram. All conversions go via this value.
///
- public static SpecificEnergyUnit BaseUnit => SpecificEnergyUnit.JoulePerKilogram;
+ public static SpecificEnergyUnit BaseUnit { get; } = SpecificEnergyUnit.JoulePerKilogram;
///
/// Represents the largest possible value of SpecificEnergy
///
- public static SpecificEnergy MaxValue => new SpecificEnergy(double.MaxValue, BaseUnit);
+ public static SpecificEnergy MaxValue { get; } = new SpecificEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificEnergy
///
- public static SpecificEnergy MinValue => new SpecificEnergy(double.MinValue, BaseUnit);
+ public static SpecificEnergy MinValue { get; } = new SpecificEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificEnergy;
///
/// All units of measurement for the SpecificEnergy quantity.
@@ -134,7 +134,7 @@ private SpecificEnergy(double numericValue, SpecificEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerKilogram.
///
- public static SpecificEnergy Zero => new SpecificEnergy(0, BaseUnit);
+ public static SpecificEnergy Zero { get; } = new SpecificEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEntropy.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEntropy.WindowsRuntimeComponent.g.cs
index 2b5bad71d1..60cad92d7c 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEntropy.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificEntropy.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private SpecificEntropy(double numericValue, SpecificEntropyUnit unit)
///
/// The base unit of SpecificEntropy, which is JoulePerKilogramKelvin. All conversions go via this value.
///
- public static SpecificEntropyUnit BaseUnit => SpecificEntropyUnit.JoulePerKilogramKelvin;
+ public static SpecificEntropyUnit BaseUnit { get; } = SpecificEntropyUnit.JoulePerKilogramKelvin;
///
/// Represents the largest possible value of SpecificEntropy
///
- public static SpecificEntropy MaxValue => new SpecificEntropy(double.MaxValue, BaseUnit);
+ public static SpecificEntropy MaxValue { get; } = new SpecificEntropy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificEntropy
///
- public static SpecificEntropy MinValue => new SpecificEntropy(double.MinValue, BaseUnit);
+ public static SpecificEntropy MinValue { get; } = new SpecificEntropy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificEntropy;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificEntropy;
///
/// All units of measurement for the SpecificEntropy quantity.
@@ -131,7 +131,7 @@ private SpecificEntropy(double numericValue, SpecificEntropyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerKilogramKelvin.
///
- public static SpecificEntropy Zero => new SpecificEntropy(0, BaseUnit);
+ public static SpecificEntropy Zero { get; } = new SpecificEntropy(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificVolume.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificVolume.WindowsRuntimeComponent.g.cs
index c139dbbd8a..f9a0d75ea9 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificVolume.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificVolume.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private SpecificVolume(double numericValue, SpecificVolumeUnit unit)
///
/// The base unit of SpecificVolume, which is CubicMeterPerKilogram. All conversions go via this value.
///
- public static SpecificVolumeUnit BaseUnit => SpecificVolumeUnit.CubicMeterPerKilogram;
+ public static SpecificVolumeUnit BaseUnit { get; } = SpecificVolumeUnit.CubicMeterPerKilogram;
///
/// Represents the largest possible value of SpecificVolume
///
- public static SpecificVolume MaxValue => new SpecificVolume(double.MaxValue, BaseUnit);
+ public static SpecificVolume MaxValue { get; } = new SpecificVolume(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificVolume
///
- public static SpecificVolume MinValue => new SpecificVolume(double.MinValue, BaseUnit);
+ public static SpecificVolume MinValue { get; } = new SpecificVolume(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificVolume;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificVolume;
///
/// All units of measurement for the SpecificVolume quantity.
@@ -131,7 +131,7 @@ private SpecificVolume(double numericValue, SpecificVolumeUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit CubicMeterPerKilogram.
///
- public static SpecificVolume Zero => new SpecificVolume(0, BaseUnit);
+ public static SpecificVolume Zero { get; } = new SpecificVolume(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificWeight.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificWeight.WindowsRuntimeComponent.g.cs
index 6d8f47f547..bedc38f78a 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificWeight.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/SpecificWeight.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private SpecificWeight(double numericValue, SpecificWeightUnit unit)
///
/// The base unit of SpecificWeight, which is NewtonPerCubicMeter. All conversions go via this value.
///
- public static SpecificWeightUnit BaseUnit => SpecificWeightUnit.NewtonPerCubicMeter;
+ public static SpecificWeightUnit BaseUnit { get; } = SpecificWeightUnit.NewtonPerCubicMeter;
///
/// Represents the largest possible value of SpecificWeight
///
- public static SpecificWeight MaxValue => new SpecificWeight(double.MaxValue, BaseUnit);
+ public static SpecificWeight MaxValue { get; } = new SpecificWeight(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificWeight
///
- public static SpecificWeight MinValue => new SpecificWeight(double.MinValue, BaseUnit);
+ public static SpecificWeight MinValue { get; } = new SpecificWeight(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificWeight;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificWeight;
///
/// All units of measurement for the SpecificWeight quantity.
@@ -134,7 +134,7 @@ private SpecificWeight(double numericValue, SpecificWeightUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonPerCubicMeter.
///
- public static SpecificWeight Zero => new SpecificWeight(0, BaseUnit);
+ public static SpecificWeight Zero { get; } = new SpecificWeight(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Speed.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Speed.WindowsRuntimeComponent.g.cs
index c7b3ec280e..76cb7ebae1 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Speed.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Speed.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Speed(double numericValue, SpeedUnit unit)
///
/// The base unit of Speed, which is MeterPerSecond. All conversions go via this value.
///
- public static SpeedUnit BaseUnit => SpeedUnit.MeterPerSecond;
+ public static SpeedUnit BaseUnit { get; } = SpeedUnit.MeterPerSecond;
///
/// Represents the largest possible value of Speed
///
- public static Speed MaxValue => new Speed(double.MaxValue, BaseUnit);
+ public static Speed MaxValue { get; } = new Speed(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Speed
///
- public static Speed MinValue => new Speed(double.MinValue, BaseUnit);
+ public static Speed MinValue { get; } = new Speed(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Speed;
+ public static QuantityType QuantityType { get; } = QuantityType.Speed;
///
/// All units of measurement for the Speed quantity.
@@ -131,7 +131,7 @@ private Speed(double numericValue, SpeedUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MeterPerSecond.
///
- public static Speed Zero => new Speed(0, BaseUnit);
+ public static Speed Zero { get; } = new Speed(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Temperature.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Temperature.WindowsRuntimeComponent.g.cs
index 77796a121f..69093d925a 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Temperature.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Temperature.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Temperature(double numericValue, TemperatureUnit unit)
///
/// The base unit of Temperature, which is Kelvin. All conversions go via this value.
///
- public static TemperatureUnit BaseUnit => TemperatureUnit.Kelvin;
+ public static TemperatureUnit BaseUnit { get; } = TemperatureUnit.Kelvin;
///
/// Represents the largest possible value of Temperature
///
- public static Temperature MaxValue => new Temperature(double.MaxValue, BaseUnit);
+ public static Temperature MaxValue { get; } = new Temperature(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Temperature
///
- public static Temperature MinValue => new Temperature(double.MinValue, BaseUnit);
+ public static Temperature MinValue { get; } = new Temperature(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Temperature;
+ public static QuantityType QuantityType { get; } = QuantityType.Temperature;
///
/// All units of measurement for the Temperature quantity.
@@ -131,7 +131,7 @@ private Temperature(double numericValue, TemperatureUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Kelvin.
///
- public static Temperature Zero => new Temperature(0, BaseUnit);
+ public static Temperature Zero { get; } = new Temperature(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureChangeRate.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureChangeRate.WindowsRuntimeComponent.g.cs
index 0c244aa4d8..b3c5128afa 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureChangeRate.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureChangeRate.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private TemperatureChangeRate(double numericValue, TemperatureChangeRateUnit uni
///
/// The base unit of TemperatureChangeRate, which is DegreeCelsiusPerSecond. All conversions go via this value.
///
- public static TemperatureChangeRateUnit BaseUnit => TemperatureChangeRateUnit.DegreeCelsiusPerSecond;
+ public static TemperatureChangeRateUnit BaseUnit { get; } = TemperatureChangeRateUnit.DegreeCelsiusPerSecond;
///
/// Represents the largest possible value of TemperatureChangeRate
///
- public static TemperatureChangeRate MaxValue => new TemperatureChangeRate(double.MaxValue, BaseUnit);
+ public static TemperatureChangeRate MaxValue { get; } = new TemperatureChangeRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of TemperatureChangeRate
///
- public static TemperatureChangeRate MinValue => new TemperatureChangeRate(double.MinValue, BaseUnit);
+ public static TemperatureChangeRate MinValue { get; } = new TemperatureChangeRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.TemperatureChangeRate;
+ public static QuantityType QuantityType { get; } = QuantityType.TemperatureChangeRate;
///
/// All units of measurement for the TemperatureChangeRate quantity.
@@ -131,7 +131,7 @@ private TemperatureChangeRate(double numericValue, TemperatureChangeRateUnit uni
///
/// Gets an instance of this quantity with a value of 0 in the base unit DegreeCelsiusPerSecond.
///
- public static TemperatureChangeRate Zero => new TemperatureChangeRate(0, BaseUnit);
+ public static TemperatureChangeRate Zero { get; } = new TemperatureChangeRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureDelta.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureDelta.WindowsRuntimeComponent.g.cs
index f5343b234c..a29737d0c5 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureDelta.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/TemperatureDelta.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private TemperatureDelta(double numericValue, TemperatureDeltaUnit unit)
///
/// The base unit of TemperatureDelta, which is Kelvin. All conversions go via this value.
///
- public static TemperatureDeltaUnit BaseUnit => TemperatureDeltaUnit.Kelvin;
+ public static TemperatureDeltaUnit BaseUnit { get; } = TemperatureDeltaUnit.Kelvin;
///
/// Represents the largest possible value of TemperatureDelta
///
- public static TemperatureDelta MaxValue => new TemperatureDelta(double.MaxValue, BaseUnit);
+ public static TemperatureDelta MaxValue { get; } = new TemperatureDelta(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of TemperatureDelta
///
- public static TemperatureDelta MinValue => new TemperatureDelta(double.MinValue, BaseUnit);
+ public static TemperatureDelta MinValue { get; } = new TemperatureDelta(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.TemperatureDelta;
+ public static QuantityType QuantityType { get; } = QuantityType.TemperatureDelta;
///
/// All units of measurement for the TemperatureDelta quantity.
@@ -131,7 +131,7 @@ private TemperatureDelta(double numericValue, TemperatureDeltaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Kelvin.
///
- public static TemperatureDelta Zero => new TemperatureDelta(0, BaseUnit);
+ public static TemperatureDelta Zero { get; } = new TemperatureDelta(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalConductivity.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalConductivity.WindowsRuntimeComponent.g.cs
index aaa091df43..ebc1d99a6b 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalConductivity.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalConductivity.WindowsRuntimeComponent.g.cs
@@ -109,22 +109,22 @@ private ThermalConductivity(double numericValue, ThermalConductivityUnit unit)
///
/// The base unit of ThermalConductivity, which is WattPerMeterKelvin. All conversions go via this value.
///
- public static ThermalConductivityUnit BaseUnit => ThermalConductivityUnit.WattPerMeterKelvin;
+ public static ThermalConductivityUnit BaseUnit { get; } = ThermalConductivityUnit.WattPerMeterKelvin;
///
/// Represents the largest possible value of ThermalConductivity
///
- public static ThermalConductivity MaxValue => new ThermalConductivity(double.MaxValue, BaseUnit);
+ public static ThermalConductivity MaxValue { get; } = new ThermalConductivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ThermalConductivity
///
- public static ThermalConductivity MinValue => new ThermalConductivity(double.MinValue, BaseUnit);
+ public static ThermalConductivity MinValue { get; } = new ThermalConductivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ThermalConductivity;
+ public static QuantityType QuantityType { get; } = QuantityType.ThermalConductivity;
///
/// All units of measurement for the ThermalConductivity quantity.
@@ -134,7 +134,7 @@ private ThermalConductivity(double numericValue, ThermalConductivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerMeterKelvin.
///
- public static ThermalConductivity Zero => new ThermalConductivity(0, BaseUnit);
+ public static ThermalConductivity Zero { get; } = new ThermalConductivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalResistance.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalResistance.WindowsRuntimeComponent.g.cs
index ba41692a9b..eb7d660fdb 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalResistance.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ThermalResistance.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private ThermalResistance(double numericValue, ThermalResistanceUnit unit)
///
/// The base unit of ThermalResistance, which is SquareMeterKelvinPerKilowatt. All conversions go via this value.
///
- public static ThermalResistanceUnit BaseUnit => ThermalResistanceUnit.SquareMeterKelvinPerKilowatt;
+ public static ThermalResistanceUnit BaseUnit { get; } = ThermalResistanceUnit.SquareMeterKelvinPerKilowatt;
///
/// Represents the largest possible value of ThermalResistance
///
- public static ThermalResistance MaxValue => new ThermalResistance(double.MaxValue, BaseUnit);
+ public static ThermalResistance MaxValue { get; } = new ThermalResistance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ThermalResistance
///
- public static ThermalResistance MinValue => new ThermalResistance(double.MinValue, BaseUnit);
+ public static ThermalResistance MinValue { get; } = new ThermalResistance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ThermalResistance;
+ public static QuantityType QuantityType { get; } = QuantityType.ThermalResistance;
///
/// All units of measurement for the ThermalResistance quantity.
@@ -131,7 +131,7 @@ private ThermalResistance(double numericValue, ThermalResistanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SquareMeterKelvinPerKilowatt.
///
- public static ThermalResistance Zero => new ThermalResistance(0, BaseUnit);
+ public static ThermalResistance Zero { get; } = new ThermalResistance(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Torque.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Torque.WindowsRuntimeComponent.g.cs
index b94c2afb09..c0d5902656 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Torque.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Torque.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Torque(double numericValue, TorqueUnit unit)
///
/// The base unit of Torque, which is NewtonMeter. All conversions go via this value.
///
- public static TorqueUnit BaseUnit => TorqueUnit.NewtonMeter;
+ public static TorqueUnit BaseUnit { get; } = TorqueUnit.NewtonMeter;
///
/// Represents the largest possible value of Torque
///
- public static Torque MaxValue => new Torque(double.MaxValue, BaseUnit);
+ public static Torque MaxValue { get; } = new Torque(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Torque
///
- public static Torque MinValue => new Torque(double.MinValue, BaseUnit);
+ public static Torque MinValue { get; } = new Torque(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Torque;
+ public static QuantityType QuantityType { get; } = QuantityType.Torque;
///
/// All units of measurement for the Torque quantity.
@@ -131,7 +131,7 @@ private Torque(double numericValue, TorqueUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonMeter.
///
- public static Torque Zero => new Torque(0, BaseUnit);
+ public static Torque Zero { get; } = new Torque(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VitaminA.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VitaminA.WindowsRuntimeComponent.g.cs
index ae58a1d057..1bb83af3e0 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VitaminA.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VitaminA.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private VitaminA(double numericValue, VitaminAUnit unit)
///
/// The base unit of VitaminA, which is InternationalUnit. All conversions go via this value.
///
- public static VitaminAUnit BaseUnit => VitaminAUnit.InternationalUnit;
+ public static VitaminAUnit BaseUnit { get; } = VitaminAUnit.InternationalUnit;
///
/// Represents the largest possible value of VitaminA
///
- public static VitaminA MaxValue => new VitaminA(double.MaxValue, BaseUnit);
+ public static VitaminA MaxValue { get; } = new VitaminA(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of VitaminA
///
- public static VitaminA MinValue => new VitaminA(double.MinValue, BaseUnit);
+ public static VitaminA MinValue { get; } = new VitaminA(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.VitaminA;
+ public static QuantityType QuantityType { get; } = QuantityType.VitaminA;
///
/// All units of measurement for the VitaminA quantity.
@@ -131,7 +131,7 @@ private VitaminA(double numericValue, VitaminAUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit InternationalUnit.
///
- public static VitaminA Zero => new VitaminA(0, BaseUnit);
+ public static VitaminA Zero { get; } = new VitaminA(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Volume.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Volume.WindowsRuntimeComponent.g.cs
index 84fa309611..05cfda206c 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Volume.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Volume.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private Volume(double numericValue, VolumeUnit unit)
///
/// The base unit of Volume, which is CubicMeter. All conversions go via this value.
///
- public static VolumeUnit BaseUnit => VolumeUnit.CubicMeter;
+ public static VolumeUnit BaseUnit { get; } = VolumeUnit.CubicMeter;
///
/// Represents the largest possible value of Volume
///
- public static Volume MaxValue => new Volume(double.MaxValue, BaseUnit);
+ public static Volume MaxValue { get; } = new Volume(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Volume
///
- public static Volume MinValue => new Volume(double.MinValue, BaseUnit);
+ public static Volume MinValue { get; } = new Volume(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Volume;
+ public static QuantityType QuantityType { get; } = QuantityType.Volume;
///
/// All units of measurement for the Volume quantity.
@@ -131,7 +131,7 @@ private Volume(double numericValue, VolumeUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit CubicMeter.
///
- public static Volume Zero => new Volume(0, BaseUnit);
+ public static Volume Zero { get; } = new Volume(0, BaseUnit);
#endregion
diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VolumeFlow.WindowsRuntimeComponent.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VolumeFlow.WindowsRuntimeComponent.g.cs
index 21babd80b2..e46f4ff131 100644
--- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VolumeFlow.WindowsRuntimeComponent.g.cs
+++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/VolumeFlow.WindowsRuntimeComponent.g.cs
@@ -106,22 +106,22 @@ private VolumeFlow(double numericValue, VolumeFlowUnit unit)
///
/// The base unit of VolumeFlow, which is CubicMeterPerSecond. All conversions go via this value.
///
- public static VolumeFlowUnit BaseUnit => VolumeFlowUnit.CubicMeterPerSecond;
+ public static VolumeFlowUnit BaseUnit { get; } = VolumeFlowUnit.CubicMeterPerSecond;
///
/// Represents the largest possible value of VolumeFlow
///
- public static VolumeFlow MaxValue => new VolumeFlow(double.MaxValue, BaseUnit);
+ public static VolumeFlow MaxValue { get; } = new VolumeFlow(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of VolumeFlow
///
- public static VolumeFlow MinValue => new VolumeFlow(double.MinValue, BaseUnit);
+ public static VolumeFlow MinValue { get; } = new VolumeFlow(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.VolumeFlow;
+ public static QuantityType QuantityType { get; } = QuantityType.VolumeFlow;
///
/// All units of measurement for the VolumeFlow quantity.
@@ -131,7 +131,7 @@ private VolumeFlow(double numericValue, VolumeFlowUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit CubicMeterPerSecond.
///
- public static VolumeFlow Zero => new VolumeFlow(0, BaseUnit);
+ public static VolumeFlow Zero { get; } = new VolumeFlow(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Acceleration.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Acceleration.NetFramework.g.cs
index 84ccd613a6..c270945249 100644
--- a/UnitsNet/GeneratedCode/Quantities/Acceleration.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Acceleration(double numericValue, AccelerationUnit unit)
///
/// The base unit of Acceleration, which is MeterPerSecondSquared. All conversions go via this value.
///
- public static AccelerationUnit BaseUnit => AccelerationUnit.MeterPerSecondSquared;
+ public static AccelerationUnit BaseUnit { get; } = AccelerationUnit.MeterPerSecondSquared;
///
/// Represents the largest possible value of Acceleration
///
- public static Acceleration MaxValue => new Acceleration(double.MaxValue, BaseUnit);
+ public static Acceleration MaxValue { get; } = new Acceleration(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Acceleration
///
- public static Acceleration MinValue => new Acceleration(double.MinValue, BaseUnit);
+ public static Acceleration MinValue { get; } = new Acceleration(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Acceleration;
+ public static QuantityType QuantityType { get; } = QuantityType.Acceleration;
///
/// All units of measurement for the Acceleration quantity.
@@ -117,7 +117,7 @@ public Acceleration(double numericValue, AccelerationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MeterPerSecondSquared.
///
- public static Acceleration Zero => new Acceleration(0, BaseUnit);
+ public static Acceleration Zero { get; } = new Acceleration(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.NetFramework.g.cs
index 90bf50a26d..269ec5fc28 100644
--- a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.NetFramework.g.cs
@@ -92,22 +92,22 @@ public AmountOfSubstance(double numericValue, AmountOfSubstanceUnit unit)
///
/// The base unit of AmountOfSubstance, which is Mole. All conversions go via this value.
///
- public static AmountOfSubstanceUnit BaseUnit => AmountOfSubstanceUnit.Mole;
+ public static AmountOfSubstanceUnit BaseUnit { get; } = AmountOfSubstanceUnit.Mole;
///
/// Represents the largest possible value of AmountOfSubstance
///
- public static AmountOfSubstance MaxValue => new AmountOfSubstance(double.MaxValue, BaseUnit);
+ public static AmountOfSubstance MaxValue { get; } = new AmountOfSubstance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AmountOfSubstance
///
- public static AmountOfSubstance MinValue => new AmountOfSubstance(double.MinValue, BaseUnit);
+ public static AmountOfSubstance MinValue { get; } = new AmountOfSubstance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AmountOfSubstance;
+ public static QuantityType QuantityType { get; } = QuantityType.AmountOfSubstance;
///
/// All units of measurement for the AmountOfSubstance quantity.
@@ -117,7 +117,7 @@ public AmountOfSubstance(double numericValue, AmountOfSubstanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Mole.
///
- public static AmountOfSubstance Zero => new AmountOfSubstance(0, BaseUnit);
+ public static AmountOfSubstance Zero { get; } = new AmountOfSubstance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.NetFramework.g.cs
index 5c92424eee..bdd2811a3c 100644
--- a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.NetFramework.g.cs
@@ -92,22 +92,22 @@ public AmplitudeRatio(double numericValue, AmplitudeRatioUnit unit)
///
/// The base unit of AmplitudeRatio, which is DecibelVolt. All conversions go via this value.
///
- public static AmplitudeRatioUnit BaseUnit => AmplitudeRatioUnit.DecibelVolt;
+ public static AmplitudeRatioUnit BaseUnit { get; } = AmplitudeRatioUnit.DecibelVolt;
///
/// Represents the largest possible value of AmplitudeRatio
///
- public static AmplitudeRatio MaxValue => new AmplitudeRatio(double.MaxValue, BaseUnit);
+ public static AmplitudeRatio MaxValue { get; } = new AmplitudeRatio(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AmplitudeRatio
///
- public static AmplitudeRatio MinValue => new AmplitudeRatio(double.MinValue, BaseUnit);
+ public static AmplitudeRatio MinValue { get; } = new AmplitudeRatio(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AmplitudeRatio;
+ public static QuantityType QuantityType { get; } = QuantityType.AmplitudeRatio;
///
/// All units of measurement for the AmplitudeRatio quantity.
@@ -117,7 +117,7 @@ public AmplitudeRatio(double numericValue, AmplitudeRatioUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DecibelVolt.
///
- public static AmplitudeRatio Zero => new AmplitudeRatio(0, BaseUnit);
+ public static AmplitudeRatio Zero { get; } = new AmplitudeRatio(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Angle.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Angle.NetFramework.g.cs
index da67ba174f..a40146322e 100644
--- a/UnitsNet/GeneratedCode/Quantities/Angle.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Angle.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Angle(double numericValue, AngleUnit unit)
///
/// The base unit of Angle, which is Degree. All conversions go via this value.
///
- public static AngleUnit BaseUnit => AngleUnit.Degree;
+ public static AngleUnit BaseUnit { get; } = AngleUnit.Degree;
///
/// Represents the largest possible value of Angle
///
- public static Angle MaxValue => new Angle(double.MaxValue, BaseUnit);
+ public static Angle MaxValue { get; } = new Angle(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Angle
///
- public static Angle MinValue => new Angle(double.MinValue, BaseUnit);
+ public static Angle MinValue { get; } = new Angle(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Angle;
+ public static QuantityType QuantityType { get; } = QuantityType.Angle;
///
/// All units of measurement for the Angle quantity.
@@ -117,7 +117,7 @@ public Angle(double numericValue, AngleUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Degree.
///
- public static Angle Zero => new Angle(0, BaseUnit);
+ public static Angle Zero { get; } = new Angle(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.NetFramework.g.cs
index d9ffd9f485..d316073a1e 100644
--- a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ApparentEnergy(double numericValue, ApparentEnergyUnit unit)
///
/// The base unit of ApparentEnergy, which is VoltampereHour. All conversions go via this value.
///
- public static ApparentEnergyUnit BaseUnit => ApparentEnergyUnit.VoltampereHour;
+ public static ApparentEnergyUnit BaseUnit { get; } = ApparentEnergyUnit.VoltampereHour;
///
/// Represents the largest possible value of ApparentEnergy
///
- public static ApparentEnergy MaxValue => new ApparentEnergy(double.MaxValue, BaseUnit);
+ public static ApparentEnergy MaxValue { get; } = new ApparentEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ApparentEnergy
///
- public static ApparentEnergy MinValue => new ApparentEnergy(double.MinValue, BaseUnit);
+ public static ApparentEnergy MinValue { get; } = new ApparentEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ApparentEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.ApparentEnergy;
///
/// All units of measurement for the ApparentEnergy quantity.
@@ -117,7 +117,7 @@ public ApparentEnergy(double numericValue, ApparentEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltampereHour.
///
- public static ApparentEnergy Zero => new ApparentEnergy(0, BaseUnit);
+ public static ApparentEnergy Zero { get; } = new ApparentEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentPower.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentPower.NetFramework.g.cs
index 339f0a85ed..939303cc36 100644
--- a/UnitsNet/GeneratedCode/Quantities/ApparentPower.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ApparentPower.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ApparentPower(double numericValue, ApparentPowerUnit unit)
///
/// The base unit of ApparentPower, which is Voltampere. All conversions go via this value.
///
- public static ApparentPowerUnit BaseUnit => ApparentPowerUnit.Voltampere;
+ public static ApparentPowerUnit BaseUnit { get; } = ApparentPowerUnit.Voltampere;
///
/// Represents the largest possible value of ApparentPower
///
- public static ApparentPower MaxValue => new ApparentPower(double.MaxValue, BaseUnit);
+ public static ApparentPower MaxValue { get; } = new ApparentPower(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ApparentPower
///
- public static ApparentPower MinValue => new ApparentPower(double.MinValue, BaseUnit);
+ public static ApparentPower MinValue { get; } = new ApparentPower(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ApparentPower;
+ public static QuantityType QuantityType { get; } = QuantityType.ApparentPower;
///
/// All units of measurement for the ApparentPower quantity.
@@ -117,7 +117,7 @@ public ApparentPower(double numericValue, ApparentPowerUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Voltampere.
///
- public static ApparentPower Zero => new ApparentPower(0, BaseUnit);
+ public static ApparentPower Zero { get; } = new ApparentPower(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Area.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Area.NetFramework.g.cs
index 834ca4aa2e..cc853e61b1 100644
--- a/UnitsNet/GeneratedCode/Quantities/Area.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Area.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Area(double numericValue, AreaUnit unit)
///
/// The base unit of Area, which is SquareMeter. All conversions go via this value.
///
- public static AreaUnit BaseUnit => AreaUnit.SquareMeter;
+ public static AreaUnit BaseUnit { get; } = AreaUnit.SquareMeter;
///
/// Represents the largest possible value of Area
///
- public static Area MaxValue => new Area(double.MaxValue, BaseUnit);
+ public static Area MaxValue { get; } = new Area(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Area
///
- public static Area MinValue => new Area(double.MinValue, BaseUnit);
+ public static Area MinValue { get; } = new Area(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Area;
+ public static QuantityType QuantityType { get; } = QuantityType.Area;
///
/// All units of measurement for the Area quantity.
@@ -117,7 +117,7 @@ public Area(double numericValue, AreaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SquareMeter.
///
- public static Area Zero => new Area(0, BaseUnit);
+ public static Area Zero { get; } = new Area(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/AreaDensity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaDensity.NetFramework.g.cs
index 4d2aa8e3c4..981c3c9181 100644
--- a/UnitsNet/GeneratedCode/Quantities/AreaDensity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AreaDensity.NetFramework.g.cs
@@ -92,22 +92,22 @@ public AreaDensity(double numericValue, AreaDensityUnit unit)
///
/// The base unit of AreaDensity, which is KilogramPerSquareMeter. All conversions go via this value.
///
- public static AreaDensityUnit BaseUnit => AreaDensityUnit.KilogramPerSquareMeter;
+ public static AreaDensityUnit BaseUnit { get; } = AreaDensityUnit.KilogramPerSquareMeter;
///
/// Represents the largest possible value of AreaDensity
///
- public static AreaDensity MaxValue => new AreaDensity(double.MaxValue, BaseUnit);
+ public static AreaDensity MaxValue { get; } = new AreaDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AreaDensity
///
- public static AreaDensity MinValue => new AreaDensity(double.MinValue, BaseUnit);
+ public static AreaDensity MinValue { get; } = new AreaDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AreaDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.AreaDensity;
///
/// All units of measurement for the AreaDensity quantity.
@@ -117,7 +117,7 @@ public AreaDensity(double numericValue, AreaDensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerSquareMeter.
///
- public static AreaDensity Zero => new AreaDensity(0, BaseUnit);
+ public static AreaDensity Zero { get; } = new AreaDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.NetFramework.g.cs
index df5403d431..94a6104b6f 100644
--- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.NetFramework.g.cs
@@ -92,22 +92,22 @@ public AreaMomentOfInertia(double numericValue, AreaMomentOfInertiaUnit unit)
///
/// The base unit of AreaMomentOfInertia, which is MeterToTheFourth. All conversions go via this value.
///
- public static AreaMomentOfInertiaUnit BaseUnit => AreaMomentOfInertiaUnit.MeterToTheFourth;
+ public static AreaMomentOfInertiaUnit BaseUnit { get; } = AreaMomentOfInertiaUnit.MeterToTheFourth;
///
/// Represents the largest possible value of AreaMomentOfInertia
///
- public static AreaMomentOfInertia MaxValue => new AreaMomentOfInertia(double.MaxValue, BaseUnit);
+ public static AreaMomentOfInertia MaxValue { get; } = new AreaMomentOfInertia(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of AreaMomentOfInertia
///
- public static AreaMomentOfInertia MinValue => new AreaMomentOfInertia(double.MinValue, BaseUnit);
+ public static AreaMomentOfInertia MinValue { get; } = new AreaMomentOfInertia(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.AreaMomentOfInertia;
+ public static QuantityType QuantityType { get; } = QuantityType.AreaMomentOfInertia;
///
/// All units of measurement for the AreaMomentOfInertia quantity.
@@ -117,7 +117,7 @@ public AreaMomentOfInertia(double numericValue, AreaMomentOfInertiaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MeterToTheFourth.
///
- public static AreaMomentOfInertia Zero => new AreaMomentOfInertia(0, BaseUnit);
+ public static AreaMomentOfInertia Zero { get; } = new AreaMomentOfInertia(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/BitRate.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/BitRate.NetFramework.g.cs
index bc9a4ed598..0b5970dc41 100644
--- a/UnitsNet/GeneratedCode/Quantities/BitRate.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/BitRate.NetFramework.g.cs
@@ -95,22 +95,22 @@ public BitRate(decimal numericValue, BitRateUnit unit)
///
/// The base unit of BitRate, which is BitPerSecond. All conversions go via this value.
///
- public static BitRateUnit BaseUnit => BitRateUnit.BitPerSecond;
+ public static BitRateUnit BaseUnit { get; } = BitRateUnit.BitPerSecond;
///
/// Represents the largest possible value of BitRate
///
- public static BitRate MaxValue => new BitRate(decimal.MaxValue, BaseUnit);
+ public static BitRate MaxValue { get; } = new BitRate(decimal.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of BitRate
///
- public static BitRate MinValue => new BitRate(decimal.MinValue, BaseUnit);
+ public static BitRate MinValue { get; } = new BitRate(decimal.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.BitRate;
+ public static QuantityType QuantityType { get; } = QuantityType.BitRate;
///
/// All units of measurement for the BitRate quantity.
@@ -120,7 +120,7 @@ public BitRate(decimal numericValue, BitRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit BitPerSecond.
///
- public static BitRate Zero => new BitRate(0, BaseUnit);
+ public static BitRate Zero { get; } = new BitRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.NetFramework.g.cs
index 24001bf446..a426b07efc 100644
--- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.NetFramework.g.cs
@@ -92,22 +92,22 @@ public BrakeSpecificFuelConsumption(double numericValue, BrakeSpecificFuelConsum
///
/// The base unit of BrakeSpecificFuelConsumption, which is KilogramPerJoule. All conversions go via this value.
///
- public static BrakeSpecificFuelConsumptionUnit BaseUnit => BrakeSpecificFuelConsumptionUnit.KilogramPerJoule;
+ public static BrakeSpecificFuelConsumptionUnit BaseUnit { get; } = BrakeSpecificFuelConsumptionUnit.KilogramPerJoule;
///
/// Represents the largest possible value of BrakeSpecificFuelConsumption
///
- public static BrakeSpecificFuelConsumption MaxValue => new BrakeSpecificFuelConsumption(double.MaxValue, BaseUnit);
+ public static BrakeSpecificFuelConsumption MaxValue { get; } = new BrakeSpecificFuelConsumption(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of BrakeSpecificFuelConsumption
///
- public static BrakeSpecificFuelConsumption MinValue => new BrakeSpecificFuelConsumption(double.MinValue, BaseUnit);
+ public static BrakeSpecificFuelConsumption MinValue { get; } = new BrakeSpecificFuelConsumption(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.BrakeSpecificFuelConsumption;
+ public static QuantityType QuantityType { get; } = QuantityType.BrakeSpecificFuelConsumption;
///
/// All units of measurement for the BrakeSpecificFuelConsumption quantity.
@@ -117,7 +117,7 @@ public BrakeSpecificFuelConsumption(double numericValue, BrakeSpecificFuelConsum
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerJoule.
///
- public static BrakeSpecificFuelConsumption Zero => new BrakeSpecificFuelConsumption(0, BaseUnit);
+ public static BrakeSpecificFuelConsumption Zero { get; } = new BrakeSpecificFuelConsumption(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Capacitance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Capacitance.NetFramework.g.cs
index 98506bea99..781139ac3a 100644
--- a/UnitsNet/GeneratedCode/Quantities/Capacitance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Capacitance.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Capacitance(double numericValue, CapacitanceUnit unit)
///
/// The base unit of Capacitance, which is Farad. All conversions go via this value.
///
- public static CapacitanceUnit BaseUnit => CapacitanceUnit.Farad;
+ public static CapacitanceUnit BaseUnit { get; } = CapacitanceUnit.Farad;
///
/// Represents the largest possible value of Capacitance
///
- public static Capacitance MaxValue => new Capacitance(double.MaxValue, BaseUnit);
+ public static Capacitance MaxValue { get; } = new Capacitance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Capacitance
///
- public static Capacitance MinValue => new Capacitance(double.MinValue, BaseUnit);
+ public static Capacitance MinValue { get; } = new Capacitance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Capacitance;
+ public static QuantityType QuantityType { get; } = QuantityType.Capacitance;
///
/// All units of measurement for the Capacitance quantity.
@@ -120,7 +120,7 @@ public Capacitance(double numericValue, CapacitanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Farad.
///
- public static Capacitance Zero => new Capacitance(0, BaseUnit);
+ public static Capacitance Zero { get; } = new Capacitance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.NetFramework.g.cs
index f0f973ddc0..9e2c9d0169 100644
--- a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.NetFramework.g.cs
@@ -92,22 +92,22 @@ public CoefficientOfThermalExpansion(double numericValue, CoefficientOfThermalEx
///
/// The base unit of CoefficientOfThermalExpansion, which is InverseKelvin. All conversions go via this value.
///
- public static CoefficientOfThermalExpansionUnit BaseUnit => CoefficientOfThermalExpansionUnit.InverseKelvin;
+ public static CoefficientOfThermalExpansionUnit BaseUnit { get; } = CoefficientOfThermalExpansionUnit.InverseKelvin;
///
/// Represents the largest possible value of CoefficientOfThermalExpansion
///
- public static CoefficientOfThermalExpansion MaxValue => new CoefficientOfThermalExpansion(double.MaxValue, BaseUnit);
+ public static CoefficientOfThermalExpansion MaxValue { get; } = new CoefficientOfThermalExpansion(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of CoefficientOfThermalExpansion
///
- public static CoefficientOfThermalExpansion MinValue => new CoefficientOfThermalExpansion(double.MinValue, BaseUnit);
+ public static CoefficientOfThermalExpansion MinValue { get; } = new CoefficientOfThermalExpansion(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.CoefficientOfThermalExpansion;
+ public static QuantityType QuantityType { get; } = QuantityType.CoefficientOfThermalExpansion;
///
/// All units of measurement for the CoefficientOfThermalExpansion quantity.
@@ -117,7 +117,7 @@ public CoefficientOfThermalExpansion(double numericValue, CoefficientOfThermalEx
///
/// Gets an instance of this quantity with a value of 0 in the base unit InverseKelvin.
///
- public static CoefficientOfThermalExpansion Zero => new CoefficientOfThermalExpansion(0, BaseUnit);
+ public static CoefficientOfThermalExpansion Zero { get; } = new CoefficientOfThermalExpansion(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Density.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Density.NetFramework.g.cs
index dee1b4c8da..6bd675f67e 100644
--- a/UnitsNet/GeneratedCode/Quantities/Density.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Density.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Density(double numericValue, DensityUnit unit)
///
/// The base unit of Density, which is KilogramPerCubicMeter. All conversions go via this value.
///
- public static DensityUnit BaseUnit => DensityUnit.KilogramPerCubicMeter;
+ public static DensityUnit BaseUnit { get; } = DensityUnit.KilogramPerCubicMeter;
///
/// Represents the largest possible value of Density
///
- public static Density MaxValue => new Density(double.MaxValue, BaseUnit);
+ public static Density MaxValue { get; } = new Density(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Density
///
- public static Density MinValue => new Density(double.MinValue, BaseUnit);
+ public static Density MinValue { get; } = new Density(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Density;
+ public static QuantityType QuantityType { get; } = QuantityType.Density;
///
/// All units of measurement for the Density quantity.
@@ -120,7 +120,7 @@ public Density(double numericValue, DensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerCubicMeter.
///
- public static Density Zero => new Density(0, BaseUnit);
+ public static Density Zero { get; } = new Density(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Duration.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Duration.NetFramework.g.cs
index a492045fa3..96839e6452 100644
--- a/UnitsNet/GeneratedCode/Quantities/Duration.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Duration.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Duration(double numericValue, DurationUnit unit)
///
/// The base unit of Duration, which is Second. All conversions go via this value.
///
- public static DurationUnit BaseUnit => DurationUnit.Second;
+ public static DurationUnit BaseUnit { get; } = DurationUnit.Second;
///
/// Represents the largest possible value of Duration
///
- public static Duration MaxValue => new Duration(double.MaxValue, BaseUnit);
+ public static Duration MaxValue { get; } = new Duration(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Duration
///
- public static Duration MinValue => new Duration(double.MinValue, BaseUnit);
+ public static Duration MinValue { get; } = new Duration(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Duration;
+ public static QuantityType QuantityType { get; } = QuantityType.Duration;
///
/// All units of measurement for the Duration quantity.
@@ -117,7 +117,7 @@ public Duration(double numericValue, DurationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Second.
///
- public static Duration Zero => new Duration(0, BaseUnit);
+ public static Duration Zero { get; } = new Duration(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.NetFramework.g.cs
index c6f68cbcb4..d5c144c902 100644
--- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public DynamicViscosity(double numericValue, DynamicViscosityUnit unit)
///
/// The base unit of DynamicViscosity, which is NewtonSecondPerMeterSquared. All conversions go via this value.
///
- public static DynamicViscosityUnit BaseUnit => DynamicViscosityUnit.NewtonSecondPerMeterSquared;
+ public static DynamicViscosityUnit BaseUnit { get; } = DynamicViscosityUnit.NewtonSecondPerMeterSquared;
///
/// Represents the largest possible value of DynamicViscosity
///
- public static DynamicViscosity MaxValue => new DynamicViscosity(double.MaxValue, BaseUnit);
+ public static DynamicViscosity MaxValue { get; } = new DynamicViscosity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of DynamicViscosity
///
- public static DynamicViscosity MinValue => new DynamicViscosity(double.MinValue, BaseUnit);
+ public static DynamicViscosity MinValue { get; } = new DynamicViscosity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.DynamicViscosity;
+ public static QuantityType QuantityType { get; } = QuantityType.DynamicViscosity;
///
/// All units of measurement for the DynamicViscosity quantity.
@@ -120,7 +120,7 @@ public DynamicViscosity(double numericValue, DynamicViscosityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonSecondPerMeterSquared.
///
- public static DynamicViscosity Zero => new DynamicViscosity(0, BaseUnit);
+ public static DynamicViscosity Zero { get; } = new DynamicViscosity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.NetFramework.g.cs
index 0aa8614684..4fab6a781f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ElectricAdmittance(double numericValue, ElectricAdmittanceUnit unit)
///
/// The base unit of ElectricAdmittance, which is Siemens. All conversions go via this value.
///
- public static ElectricAdmittanceUnit BaseUnit => ElectricAdmittanceUnit.Siemens;
+ public static ElectricAdmittanceUnit BaseUnit { get; } = ElectricAdmittanceUnit.Siemens;
///
/// Represents the largest possible value of ElectricAdmittance
///
- public static ElectricAdmittance MaxValue => new ElectricAdmittance(double.MaxValue, BaseUnit);
+ public static ElectricAdmittance MaxValue { get; } = new ElectricAdmittance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricAdmittance
///
- public static ElectricAdmittance MinValue => new ElectricAdmittance(double.MinValue, BaseUnit);
+ public static ElectricAdmittance MinValue { get; } = new ElectricAdmittance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricAdmittance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricAdmittance;
///
/// All units of measurement for the ElectricAdmittance quantity.
@@ -117,7 +117,7 @@ public ElectricAdmittance(double numericValue, ElectricAdmittanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Siemens.
///
- public static ElectricAdmittance Zero => new ElectricAdmittance(0, BaseUnit);
+ public static ElectricAdmittance Zero { get; } = new ElectricAdmittance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.NetFramework.g.cs
index ad8c89f4e9..fb1cf38f61 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricCharge(double numericValue, ElectricChargeUnit unit)
///
/// The base unit of ElectricCharge, which is Coulomb. All conversions go via this value.
///
- public static ElectricChargeUnit BaseUnit => ElectricChargeUnit.Coulomb;
+ public static ElectricChargeUnit BaseUnit { get; } = ElectricChargeUnit.Coulomb;
///
/// Represents the largest possible value of ElectricCharge
///
- public static ElectricCharge MaxValue => new ElectricCharge(double.MaxValue, BaseUnit);
+ public static ElectricCharge MaxValue { get; } = new ElectricCharge(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCharge
///
- public static ElectricCharge MinValue => new ElectricCharge(double.MinValue, BaseUnit);
+ public static ElectricCharge MinValue { get; } = new ElectricCharge(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCharge;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCharge;
///
/// All units of measurement for the ElectricCharge quantity.
@@ -120,7 +120,7 @@ public ElectricCharge(double numericValue, ElectricChargeUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Coulomb.
///
- public static ElectricCharge Zero => new ElectricCharge(0, BaseUnit);
+ public static ElectricCharge Zero { get; } = new ElectricCharge(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.NetFramework.g.cs
index c7f07b4c82..461b8d9b04 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricChargeDensity(double numericValue, ElectricChargeDensityUnit unit
///
/// The base unit of ElectricChargeDensity, which is CoulombPerCubicMeter. All conversions go via this value.
///
- public static ElectricChargeDensityUnit BaseUnit => ElectricChargeDensityUnit.CoulombPerCubicMeter;
+ public static ElectricChargeDensityUnit BaseUnit { get; } = ElectricChargeDensityUnit.CoulombPerCubicMeter;
///
/// Represents the largest possible value of ElectricChargeDensity
///
- public static ElectricChargeDensity MaxValue => new ElectricChargeDensity(double.MaxValue, BaseUnit);
+ public static ElectricChargeDensity MaxValue { get; } = new ElectricChargeDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricChargeDensity
///
- public static ElectricChargeDensity MinValue => new ElectricChargeDensity(double.MinValue, BaseUnit);
+ public static ElectricChargeDensity MinValue { get; } = new ElectricChargeDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricChargeDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricChargeDensity;
///
/// All units of measurement for the ElectricChargeDensity quantity.
@@ -120,7 +120,7 @@ public ElectricChargeDensity(double numericValue, ElectricChargeDensityUnit unit
///
/// Gets an instance of this quantity with a value of 0 in the base unit CoulombPerCubicMeter.
///
- public static ElectricChargeDensity Zero => new ElectricChargeDensity(0, BaseUnit);
+ public static ElectricChargeDensity Zero { get; } = new ElectricChargeDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.NetFramework.g.cs
index 055e85ca6e..e1fe29fffd 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricConductance(double numericValue, ElectricConductanceUnit unit)
///
/// The base unit of ElectricConductance, which is Siemens. All conversions go via this value.
///
- public static ElectricConductanceUnit BaseUnit => ElectricConductanceUnit.Siemens;
+ public static ElectricConductanceUnit BaseUnit { get; } = ElectricConductanceUnit.Siemens;
///
/// Represents the largest possible value of ElectricConductance
///
- public static ElectricConductance MaxValue => new ElectricConductance(double.MaxValue, BaseUnit);
+ public static ElectricConductance MaxValue { get; } = new ElectricConductance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricConductance
///
- public static ElectricConductance MinValue => new ElectricConductance(double.MinValue, BaseUnit);
+ public static ElectricConductance MinValue { get; } = new ElectricConductance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricConductance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricConductance;
///
/// All units of measurement for the ElectricConductance quantity.
@@ -120,7 +120,7 @@ public ElectricConductance(double numericValue, ElectricConductanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Siemens.
///
- public static ElectricConductance Zero => new ElectricConductance(0, BaseUnit);
+ public static ElectricConductance Zero { get; } = new ElectricConductance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.NetFramework.g.cs
index 2bf2645bb3..be0f11ec85 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricConductivity(double numericValue, ElectricConductivityUnit unit)
///
/// The base unit of ElectricConductivity, which is SiemensPerMeter. All conversions go via this value.
///
- public static ElectricConductivityUnit BaseUnit => ElectricConductivityUnit.SiemensPerMeter;
+ public static ElectricConductivityUnit BaseUnit { get; } = ElectricConductivityUnit.SiemensPerMeter;
///
/// Represents the largest possible value of ElectricConductivity
///
- public static ElectricConductivity MaxValue => new ElectricConductivity(double.MaxValue, BaseUnit);
+ public static ElectricConductivity MaxValue { get; } = new ElectricConductivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricConductivity
///
- public static ElectricConductivity MinValue => new ElectricConductivity(double.MinValue, BaseUnit);
+ public static ElectricConductivity MinValue { get; } = new ElectricConductivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricConductivity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricConductivity;
///
/// All units of measurement for the ElectricConductivity quantity.
@@ -120,7 +120,7 @@ public ElectricConductivity(double numericValue, ElectricConductivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SiemensPerMeter.
///
- public static ElectricConductivity Zero => new ElectricConductivity(0, BaseUnit);
+ public static ElectricConductivity Zero { get; } = new ElectricConductivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.NetFramework.g.cs
index 297cf7cb67..363b81c633 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ElectricCurrent(double numericValue, ElectricCurrentUnit unit)
///
/// The base unit of ElectricCurrent, which is Ampere. All conversions go via this value.
///
- public static ElectricCurrentUnit BaseUnit => ElectricCurrentUnit.Ampere;
+ public static ElectricCurrentUnit BaseUnit { get; } = ElectricCurrentUnit.Ampere;
///
/// Represents the largest possible value of ElectricCurrent
///
- public static ElectricCurrent MaxValue => new ElectricCurrent(double.MaxValue, BaseUnit);
+ public static ElectricCurrent MaxValue { get; } = new ElectricCurrent(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCurrent
///
- public static ElectricCurrent MinValue => new ElectricCurrent(double.MinValue, BaseUnit);
+ public static ElectricCurrent MinValue { get; } = new ElectricCurrent(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCurrent;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCurrent;
///
/// All units of measurement for the ElectricCurrent quantity.
@@ -117,7 +117,7 @@ public ElectricCurrent(double numericValue, ElectricCurrentUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Ampere.
///
- public static ElectricCurrent Zero => new ElectricCurrent(0, BaseUnit);
+ public static ElectricCurrent Zero { get; } = new ElectricCurrent(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.NetFramework.g.cs
index 454421c96a..b7001e7b26 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricCurrentDensity(double numericValue, ElectricCurrentDensityUnit un
///
/// The base unit of ElectricCurrentDensity, which is AmperePerSquareMeter. All conversions go via this value.
///
- public static ElectricCurrentDensityUnit BaseUnit => ElectricCurrentDensityUnit.AmperePerSquareMeter;
+ public static ElectricCurrentDensityUnit BaseUnit { get; } = ElectricCurrentDensityUnit.AmperePerSquareMeter;
///
/// Represents the largest possible value of ElectricCurrentDensity
///
- public static ElectricCurrentDensity MaxValue => new ElectricCurrentDensity(double.MaxValue, BaseUnit);
+ public static ElectricCurrentDensity MaxValue { get; } = new ElectricCurrentDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCurrentDensity
///
- public static ElectricCurrentDensity MinValue => new ElectricCurrentDensity(double.MinValue, BaseUnit);
+ public static ElectricCurrentDensity MinValue { get; } = new ElectricCurrentDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCurrentDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCurrentDensity;
///
/// All units of measurement for the ElectricCurrentDensity quantity.
@@ -120,7 +120,7 @@ public ElectricCurrentDensity(double numericValue, ElectricCurrentDensityUnit un
///
/// Gets an instance of this quantity with a value of 0 in the base unit AmperePerSquareMeter.
///
- public static ElectricCurrentDensity Zero => new ElectricCurrentDensity(0, BaseUnit);
+ public static ElectricCurrentDensity Zero { get; } = new ElectricCurrentDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.NetFramework.g.cs
index 45c50ff74e..4bb134d584 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ElectricCurrentGradient(double numericValue, ElectricCurrentGradientUnit
///
/// The base unit of ElectricCurrentGradient, which is AmperePerSecond. All conversions go via this value.
///
- public static ElectricCurrentGradientUnit BaseUnit => ElectricCurrentGradientUnit.AmperePerSecond;
+ public static ElectricCurrentGradientUnit BaseUnit { get; } = ElectricCurrentGradientUnit.AmperePerSecond;
///
/// Represents the largest possible value of ElectricCurrentGradient
///
- public static ElectricCurrentGradient MaxValue => new ElectricCurrentGradient(double.MaxValue, BaseUnit);
+ public static ElectricCurrentGradient MaxValue { get; } = new ElectricCurrentGradient(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricCurrentGradient
///
- public static ElectricCurrentGradient MinValue => new ElectricCurrentGradient(double.MinValue, BaseUnit);
+ public static ElectricCurrentGradient MinValue { get; } = new ElectricCurrentGradient(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricCurrentGradient;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricCurrentGradient;
///
/// All units of measurement for the ElectricCurrentGradient quantity.
@@ -117,7 +117,7 @@ public ElectricCurrentGradient(double numericValue, ElectricCurrentGradientUnit
///
/// Gets an instance of this quantity with a value of 0 in the base unit AmperePerSecond.
///
- public static ElectricCurrentGradient Zero => new ElectricCurrentGradient(0, BaseUnit);
+ public static ElectricCurrentGradient Zero { get; } = new ElectricCurrentGradient(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricField.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricField.NetFramework.g.cs
index 92ad660991..4b6fdb2dbf 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricField.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricField.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricField(double numericValue, ElectricFieldUnit unit)
///
/// The base unit of ElectricField, which is VoltPerMeter. All conversions go via this value.
///
- public static ElectricFieldUnit BaseUnit => ElectricFieldUnit.VoltPerMeter;
+ public static ElectricFieldUnit BaseUnit { get; } = ElectricFieldUnit.VoltPerMeter;
///
/// Represents the largest possible value of ElectricField
///
- public static ElectricField MaxValue => new ElectricField(double.MaxValue, BaseUnit);
+ public static ElectricField MaxValue { get; } = new ElectricField(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricField
///
- public static ElectricField MinValue => new ElectricField(double.MinValue, BaseUnit);
+ public static ElectricField MinValue { get; } = new ElectricField(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricField;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricField;
///
/// All units of measurement for the ElectricField quantity.
@@ -120,7 +120,7 @@ public ElectricField(double numericValue, ElectricFieldUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltPerMeter.
///
- public static ElectricField Zero => new ElectricField(0, BaseUnit);
+ public static ElectricField Zero { get; } = new ElectricField(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.NetFramework.g.cs
index b8122cd354..80df2fca68 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricInductance(double numericValue, ElectricInductanceUnit unit)
///
/// The base unit of ElectricInductance, which is Henry. All conversions go via this value.
///
- public static ElectricInductanceUnit BaseUnit => ElectricInductanceUnit.Henry;
+ public static ElectricInductanceUnit BaseUnit { get; } = ElectricInductanceUnit.Henry;
///
/// Represents the largest possible value of ElectricInductance
///
- public static ElectricInductance MaxValue => new ElectricInductance(double.MaxValue, BaseUnit);
+ public static ElectricInductance MaxValue { get; } = new ElectricInductance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricInductance
///
- public static ElectricInductance MinValue => new ElectricInductance(double.MinValue, BaseUnit);
+ public static ElectricInductance MinValue { get; } = new ElectricInductance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricInductance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricInductance;
///
/// All units of measurement for the ElectricInductance quantity.
@@ -120,7 +120,7 @@ public ElectricInductance(double numericValue, ElectricInductanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Henry.
///
- public static ElectricInductance Zero => new ElectricInductance(0, BaseUnit);
+ public static ElectricInductance Zero { get; } = new ElectricInductance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.NetFramework.g.cs
index 94bb36db61..cd2d3b1af4 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ElectricPotential(double numericValue, ElectricPotentialUnit unit)
///
/// The base unit of ElectricPotential, which is Volt. All conversions go via this value.
///
- public static ElectricPotentialUnit BaseUnit => ElectricPotentialUnit.Volt;
+ public static ElectricPotentialUnit BaseUnit { get; } = ElectricPotentialUnit.Volt;
///
/// Represents the largest possible value of ElectricPotential
///
- public static ElectricPotential MaxValue => new ElectricPotential(double.MaxValue, BaseUnit);
+ public static ElectricPotential MaxValue { get; } = new ElectricPotential(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricPotential
///
- public static ElectricPotential MinValue => new ElectricPotential(double.MinValue, BaseUnit);
+ public static ElectricPotential MinValue { get; } = new ElectricPotential(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricPotential;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricPotential;
///
/// All units of measurement for the ElectricPotential quantity.
@@ -117,7 +117,7 @@ public ElectricPotential(double numericValue, ElectricPotentialUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Volt.
///
- public static ElectricPotential Zero => new ElectricPotential(0, BaseUnit);
+ public static ElectricPotential Zero { get; } = new ElectricPotential(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.NetFramework.g.cs
index decd51b7f0..fd40d4efdd 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ElectricPotentialAc(double numericValue, ElectricPotentialAcUnit unit)
///
/// The base unit of ElectricPotentialAc, which is VoltAc. All conversions go via this value.
///
- public static ElectricPotentialAcUnit BaseUnit => ElectricPotentialAcUnit.VoltAc;
+ public static ElectricPotentialAcUnit BaseUnit { get; } = ElectricPotentialAcUnit.VoltAc;
///
/// Represents the largest possible value of ElectricPotentialAc
///
- public static ElectricPotentialAc MaxValue => new ElectricPotentialAc(double.MaxValue, BaseUnit);
+ public static ElectricPotentialAc MaxValue { get; } = new ElectricPotentialAc(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricPotentialAc
///
- public static ElectricPotentialAc MinValue => new ElectricPotentialAc(double.MinValue, BaseUnit);
+ public static ElectricPotentialAc MinValue { get; } = new ElectricPotentialAc(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricPotentialAc;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricPotentialAc;
///
/// All units of measurement for the ElectricPotentialAc quantity.
@@ -117,7 +117,7 @@ public ElectricPotentialAc(double numericValue, ElectricPotentialAcUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltAc.
///
- public static ElectricPotentialAc Zero => new ElectricPotentialAc(0, BaseUnit);
+ public static ElectricPotentialAc Zero { get; } = new ElectricPotentialAc(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.NetFramework.g.cs
index 8e52d3a11f..fd30ab0765 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ElectricPotentialDc(double numericValue, ElectricPotentialDcUnit unit)
///
/// The base unit of ElectricPotentialDc, which is VoltDc. All conversions go via this value.
///
- public static ElectricPotentialDcUnit BaseUnit => ElectricPotentialDcUnit.VoltDc;
+ public static ElectricPotentialDcUnit BaseUnit { get; } = ElectricPotentialDcUnit.VoltDc;
///
/// Represents the largest possible value of ElectricPotentialDc
///
- public static ElectricPotentialDc MaxValue => new ElectricPotentialDc(double.MaxValue, BaseUnit);
+ public static ElectricPotentialDc MaxValue { get; } = new ElectricPotentialDc(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricPotentialDc
///
- public static ElectricPotentialDc MinValue => new ElectricPotentialDc(double.MinValue, BaseUnit);
+ public static ElectricPotentialDc MinValue { get; } = new ElectricPotentialDc(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricPotentialDc;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricPotentialDc;
///
/// All units of measurement for the ElectricPotentialDc quantity.
@@ -117,7 +117,7 @@ public ElectricPotentialDc(double numericValue, ElectricPotentialDcUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltDc.
///
- public static ElectricPotentialDc Zero => new ElectricPotentialDc(0, BaseUnit);
+ public static ElectricPotentialDc Zero { get; } = new ElectricPotentialDc(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.NetFramework.g.cs
index 62a484bcd7..d2ea46101d 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ElectricResistance(double numericValue, ElectricResistanceUnit unit)
///
/// The base unit of ElectricResistance, which is Ohm. All conversions go via this value.
///
- public static ElectricResistanceUnit BaseUnit => ElectricResistanceUnit.Ohm;
+ public static ElectricResistanceUnit BaseUnit { get; } = ElectricResistanceUnit.Ohm;
///
/// Represents the largest possible value of ElectricResistance
///
- public static ElectricResistance MaxValue => new ElectricResistance(double.MaxValue, BaseUnit);
+ public static ElectricResistance MaxValue { get; } = new ElectricResistance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricResistance
///
- public static ElectricResistance MinValue => new ElectricResistance(double.MinValue, BaseUnit);
+ public static ElectricResistance MinValue { get; } = new ElectricResistance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricResistance;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricResistance;
///
/// All units of measurement for the ElectricResistance quantity.
@@ -117,7 +117,7 @@ public ElectricResistance(double numericValue, ElectricResistanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Ohm.
///
- public static ElectricResistance Zero => new ElectricResistance(0, BaseUnit);
+ public static ElectricResistance Zero { get; } = new ElectricResistance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.NetFramework.g.cs
index beacbd46fd..e4771a7041 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ElectricResistivity(double numericValue, ElectricResistivityUnit unit)
///
/// The base unit of ElectricResistivity, which is OhmMeter. All conversions go via this value.
///
- public static ElectricResistivityUnit BaseUnit => ElectricResistivityUnit.OhmMeter;
+ public static ElectricResistivityUnit BaseUnit { get; } = ElectricResistivityUnit.OhmMeter;
///
/// Represents the largest possible value of ElectricResistivity
///
- public static ElectricResistivity MaxValue => new ElectricResistivity(double.MaxValue, BaseUnit);
+ public static ElectricResistivity MaxValue { get; } = new ElectricResistivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ElectricResistivity
///
- public static ElectricResistivity MinValue => new ElectricResistivity(double.MinValue, BaseUnit);
+ public static ElectricResistivity MinValue { get; } = new ElectricResistivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ElectricResistivity;
+ public static QuantityType QuantityType { get; } = QuantityType.ElectricResistivity;
///
/// All units of measurement for the ElectricResistivity quantity.
@@ -120,7 +120,7 @@ public ElectricResistivity(double numericValue, ElectricResistivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit OhmMeter.
///
- public static ElectricResistivity Zero => new ElectricResistivity(0, BaseUnit);
+ public static ElectricResistivity Zero { get; } = new ElectricResistivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Energy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Energy.NetFramework.g.cs
index 70dd0022b9..b6b7eb3cc2 100644
--- a/UnitsNet/GeneratedCode/Quantities/Energy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Energy.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Energy(double numericValue, EnergyUnit unit)
///
/// The base unit of Energy, which is Joule. All conversions go via this value.
///
- public static EnergyUnit BaseUnit => EnergyUnit.Joule;
+ public static EnergyUnit BaseUnit { get; } = EnergyUnit.Joule;
///
/// Represents the largest possible value of Energy
///
- public static Energy MaxValue => new Energy(double.MaxValue, BaseUnit);
+ public static Energy MaxValue { get; } = new Energy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Energy
///
- public static Energy MinValue => new Energy(double.MinValue, BaseUnit);
+ public static Energy MinValue { get; } = new Energy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Energy;
+ public static QuantityType QuantityType { get; } = QuantityType.Energy;
///
/// All units of measurement for the Energy quantity.
@@ -117,7 +117,7 @@ public Energy(double numericValue, EnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Joule.
///
- public static Energy Zero => new Energy(0, BaseUnit);
+ public static Energy Zero { get; } = new Energy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Entropy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Entropy.NetFramework.g.cs
index d70b0e10ea..4662db9594 100644
--- a/UnitsNet/GeneratedCode/Quantities/Entropy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Entropy.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Entropy(double numericValue, EntropyUnit unit)
///
/// The base unit of Entropy, which is JoulePerKelvin. All conversions go via this value.
///
- public static EntropyUnit BaseUnit => EntropyUnit.JoulePerKelvin;
+ public static EntropyUnit BaseUnit { get; } = EntropyUnit.JoulePerKelvin;
///
/// Represents the largest possible value of Entropy
///
- public static Entropy MaxValue => new Entropy(double.MaxValue, BaseUnit);
+ public static Entropy MaxValue { get; } = new Entropy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Entropy
///
- public static Entropy MinValue => new Entropy(double.MinValue, BaseUnit);
+ public static Entropy MinValue { get; } = new Entropy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Entropy;
+ public static QuantityType QuantityType { get; } = QuantityType.Entropy;
///
/// All units of measurement for the Entropy quantity.
@@ -117,7 +117,7 @@ public Entropy(double numericValue, EntropyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerKelvin.
///
- public static Entropy Zero => new Entropy(0, BaseUnit);
+ public static Entropy Zero { get; } = new Entropy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Force.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Force.NetFramework.g.cs
index be24f8f69e..6ebd52954a 100644
--- a/UnitsNet/GeneratedCode/Quantities/Force.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Force.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Force(double numericValue, ForceUnit unit)
///
/// The base unit of Force, which is Newton. All conversions go via this value.
///
- public static ForceUnit BaseUnit => ForceUnit.Newton;
+ public static ForceUnit BaseUnit { get; } = ForceUnit.Newton;
///
/// Represents the largest possible value of Force
///
- public static Force MaxValue => new Force(double.MaxValue, BaseUnit);
+ public static Force MaxValue { get; } = new Force(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Force
///
- public static Force MinValue => new Force(double.MinValue, BaseUnit);
+ public static Force MinValue { get; } = new Force(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Force;
+ public static QuantityType QuantityType { get; } = QuantityType.Force;
///
/// All units of measurement for the Force quantity.
@@ -117,7 +117,7 @@ public Force(double numericValue, ForceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Newton.
///
- public static Force Zero => new Force(0, BaseUnit);
+ public static Force Zero { get; } = new Force(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.NetFramework.g.cs
index 0d6065acc8..af21f65c43 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ForceChangeRate(double numericValue, ForceChangeRateUnit unit)
///
/// The base unit of ForceChangeRate, which is NewtonPerSecond. All conversions go via this value.
///
- public static ForceChangeRateUnit BaseUnit => ForceChangeRateUnit.NewtonPerSecond;
+ public static ForceChangeRateUnit BaseUnit { get; } = ForceChangeRateUnit.NewtonPerSecond;
///
/// Represents the largest possible value of ForceChangeRate
///
- public static ForceChangeRate MaxValue => new ForceChangeRate(double.MaxValue, BaseUnit);
+ public static ForceChangeRate MaxValue { get; } = new ForceChangeRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ForceChangeRate
///
- public static ForceChangeRate MinValue => new ForceChangeRate(double.MinValue, BaseUnit);
+ public static ForceChangeRate MinValue { get; } = new ForceChangeRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ForceChangeRate;
+ public static QuantityType QuantityType { get; } = QuantityType.ForceChangeRate;
///
/// All units of measurement for the ForceChangeRate quantity.
@@ -117,7 +117,7 @@ public ForceChangeRate(double numericValue, ForceChangeRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonPerSecond.
///
- public static ForceChangeRate Zero => new ForceChangeRate(0, BaseUnit);
+ public static ForceChangeRate Zero { get; } = new ForceChangeRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.NetFramework.g.cs
index 1cf9184c55..8f60b98ec5 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ForcePerLength(double numericValue, ForcePerLengthUnit unit)
///
/// The base unit of ForcePerLength, which is NewtonPerMeter. All conversions go via this value.
///
- public static ForcePerLengthUnit BaseUnit => ForcePerLengthUnit.NewtonPerMeter;
+ public static ForcePerLengthUnit BaseUnit { get; } = ForcePerLengthUnit.NewtonPerMeter;
///
/// Represents the largest possible value of ForcePerLength
///
- public static ForcePerLength MaxValue => new ForcePerLength(double.MaxValue, BaseUnit);
+ public static ForcePerLength MaxValue { get; } = new ForcePerLength(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ForcePerLength
///
- public static ForcePerLength MinValue => new ForcePerLength(double.MinValue, BaseUnit);
+ public static ForcePerLength MinValue { get; } = new ForcePerLength(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ForcePerLength;
+ public static QuantityType QuantityType { get; } = QuantityType.ForcePerLength;
///
/// All units of measurement for the ForcePerLength quantity.
@@ -117,7 +117,7 @@ public ForcePerLength(double numericValue, ForcePerLengthUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonPerMeter.
///
- public static ForcePerLength Zero => new ForcePerLength(0, BaseUnit);
+ public static ForcePerLength Zero { get; } = new ForcePerLength(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Frequency.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Frequency.NetFramework.g.cs
index b3a24c9827..10885386a6 100644
--- a/UnitsNet/GeneratedCode/Quantities/Frequency.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Frequency.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Frequency(double numericValue, FrequencyUnit unit)
///
/// The base unit of Frequency, which is Hertz. All conversions go via this value.
///
- public static FrequencyUnit BaseUnit => FrequencyUnit.Hertz;
+ public static FrequencyUnit BaseUnit { get; } = FrequencyUnit.Hertz;
///
/// Represents the largest possible value of Frequency
///
- public static Frequency MaxValue => new Frequency(double.MaxValue, BaseUnit);
+ public static Frequency MaxValue { get; } = new Frequency(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Frequency
///
- public static Frequency MinValue => new Frequency(double.MinValue, BaseUnit);
+ public static Frequency MinValue { get; } = new Frequency(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Frequency;
+ public static QuantityType QuantityType { get; } = QuantityType.Frequency;
///
/// All units of measurement for the Frequency quantity.
@@ -117,7 +117,7 @@ public Frequency(double numericValue, FrequencyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Hertz.
///
- public static Frequency Zero => new Frequency(0, BaseUnit);
+ public static Frequency Zero { get; } = new Frequency(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatFlux.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatFlux.NetFramework.g.cs
index 81a2941027..efa64bfcd3 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.NetFramework.g.cs
@@ -92,22 +92,22 @@ public HeatFlux(double numericValue, HeatFluxUnit unit)
///
/// The base unit of HeatFlux, which is WattPerSquareMeter. All conversions go via this value.
///
- public static HeatFluxUnit BaseUnit => HeatFluxUnit.WattPerSquareMeter;
+ public static HeatFluxUnit BaseUnit { get; } = HeatFluxUnit.WattPerSquareMeter;
///
/// Represents the largest possible value of HeatFlux
///
- public static HeatFlux MaxValue => new HeatFlux(double.MaxValue, BaseUnit);
+ public static HeatFlux MaxValue { get; } = new HeatFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of HeatFlux
///
- public static HeatFlux MinValue => new HeatFlux(double.MinValue, BaseUnit);
+ public static HeatFlux MinValue { get; } = new HeatFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.HeatFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.HeatFlux;
///
/// All units of measurement for the HeatFlux quantity.
@@ -117,7 +117,7 @@ public HeatFlux(double numericValue, HeatFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerSquareMeter.
///
- public static HeatFlux Zero => new HeatFlux(0, BaseUnit);
+ public static HeatFlux Zero { get; } = new HeatFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.NetFramework.g.cs
index c355fb90d4..06ca66abcf 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.NetFramework.g.cs
@@ -92,22 +92,22 @@ public HeatTransferCoefficient(double numericValue, HeatTransferCoefficientUnit
///
/// The base unit of HeatTransferCoefficient, which is WattPerSquareMeterKelvin. All conversions go via this value.
///
- public static HeatTransferCoefficientUnit BaseUnit => HeatTransferCoefficientUnit.WattPerSquareMeterKelvin;
+ public static HeatTransferCoefficientUnit BaseUnit { get; } = HeatTransferCoefficientUnit.WattPerSquareMeterKelvin;
///
/// Represents the largest possible value of HeatTransferCoefficient
///
- public static HeatTransferCoefficient MaxValue => new HeatTransferCoefficient(double.MaxValue, BaseUnit);
+ public static HeatTransferCoefficient MaxValue { get; } = new HeatTransferCoefficient(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of HeatTransferCoefficient
///
- public static HeatTransferCoefficient MinValue => new HeatTransferCoefficient(double.MinValue, BaseUnit);
+ public static HeatTransferCoefficient MinValue { get; } = new HeatTransferCoefficient(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.HeatTransferCoefficient;
+ public static QuantityType QuantityType { get; } = QuantityType.HeatTransferCoefficient;
///
/// All units of measurement for the HeatTransferCoefficient quantity.
@@ -117,7 +117,7 @@ public HeatTransferCoefficient(double numericValue, HeatTransferCoefficientUnit
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerSquareMeterKelvin.
///
- public static HeatTransferCoefficient Zero => new HeatTransferCoefficient(0, BaseUnit);
+ public static HeatTransferCoefficient Zero { get; } = new HeatTransferCoefficient(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Illuminance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Illuminance.NetFramework.g.cs
index c5da84031f..deb0dfd964 100644
--- a/UnitsNet/GeneratedCode/Quantities/Illuminance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Illuminance.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Illuminance(double numericValue, IlluminanceUnit unit)
///
/// The base unit of Illuminance, which is Lux. All conversions go via this value.
///
- public static IlluminanceUnit BaseUnit => IlluminanceUnit.Lux;
+ public static IlluminanceUnit BaseUnit { get; } = IlluminanceUnit.Lux;
///
/// Represents the largest possible value of Illuminance
///
- public static Illuminance MaxValue => new Illuminance(double.MaxValue, BaseUnit);
+ public static Illuminance MaxValue { get; } = new Illuminance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Illuminance
///
- public static Illuminance MinValue => new Illuminance(double.MinValue, BaseUnit);
+ public static Illuminance MinValue { get; } = new Illuminance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Illuminance;
+ public static QuantityType QuantityType { get; } = QuantityType.Illuminance;
///
/// All units of measurement for the Illuminance quantity.
@@ -120,7 +120,7 @@ public Illuminance(double numericValue, IlluminanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Lux.
///
- public static Illuminance Zero => new Illuminance(0, BaseUnit);
+ public static Illuminance Zero { get; } = new Illuminance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Information.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Information.NetFramework.g.cs
index d713e80770..33ae00e2bc 100644
--- a/UnitsNet/GeneratedCode/Quantities/Information.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Information.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Information(decimal numericValue, InformationUnit unit)
///
/// The base unit of Information, which is Bit. All conversions go via this value.
///
- public static InformationUnit BaseUnit => InformationUnit.Bit;
+ public static InformationUnit BaseUnit { get; } = InformationUnit.Bit;
///
/// Represents the largest possible value of Information
///
- public static Information MaxValue => new Information(decimal.MaxValue, BaseUnit);
+ public static Information MaxValue { get; } = new Information(decimal.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Information
///
- public static Information MinValue => new Information(decimal.MinValue, BaseUnit);
+ public static Information MinValue { get; } = new Information(decimal.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Information;
+ public static QuantityType QuantityType { get; } = QuantityType.Information;
///
/// All units of measurement for the Information quantity.
@@ -117,7 +117,7 @@ public Information(decimal numericValue, InformationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Bit.
///
- public static Information Zero => new Information(0, BaseUnit);
+ public static Information Zero { get; } = new Information(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiance.NetFramework.g.cs
index 0b844c8377..ac2f12ef3d 100644
--- a/UnitsNet/GeneratedCode/Quantities/Irradiance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Irradiance.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Irradiance(double numericValue, IrradianceUnit unit)
///
/// The base unit of Irradiance, which is WattPerSquareMeter. All conversions go via this value.
///
- public static IrradianceUnit BaseUnit => IrradianceUnit.WattPerSquareMeter;
+ public static IrradianceUnit BaseUnit { get; } = IrradianceUnit.WattPerSquareMeter;
///
/// Represents the largest possible value of Irradiance
///
- public static Irradiance MaxValue => new Irradiance(double.MaxValue, BaseUnit);
+ public static Irradiance MaxValue { get; } = new Irradiance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Irradiance
///
- public static Irradiance MinValue => new Irradiance(double.MinValue, BaseUnit);
+ public static Irradiance MinValue { get; } = new Irradiance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Irradiance;
+ public static QuantityType QuantityType { get; } = QuantityType.Irradiance;
///
/// All units of measurement for the Irradiance quantity.
@@ -117,7 +117,7 @@ public Irradiance(double numericValue, IrradianceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerSquareMeter.
///
- public static Irradiance Zero => new Irradiance(0, BaseUnit);
+ public static Irradiance Zero { get; } = new Irradiance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiation.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiation.NetFramework.g.cs
index 6a1b662c8d..dca928f3c6 100644
--- a/UnitsNet/GeneratedCode/Quantities/Irradiation.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Irradiation.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Irradiation(double numericValue, IrradiationUnit unit)
///
/// The base unit of Irradiation, which is JoulePerSquareMeter. All conversions go via this value.
///
- public static IrradiationUnit BaseUnit => IrradiationUnit.JoulePerSquareMeter;
+ public static IrradiationUnit BaseUnit { get; } = IrradiationUnit.JoulePerSquareMeter;
///
/// Represents the largest possible value of Irradiation
///
- public static Irradiation MaxValue => new Irradiation(double.MaxValue, BaseUnit);
+ public static Irradiation MaxValue { get; } = new Irradiation(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Irradiation
///
- public static Irradiation MinValue => new Irradiation(double.MinValue, BaseUnit);
+ public static Irradiation MinValue { get; } = new Irradiation(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Irradiation;
+ public static QuantityType QuantityType { get; } = QuantityType.Irradiation;
///
/// All units of measurement for the Irradiation quantity.
@@ -120,7 +120,7 @@ public Irradiation(double numericValue, IrradiationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerSquareMeter.
///
- public static Irradiation Zero => new Irradiation(0, BaseUnit);
+ public static Irradiation Zero { get; } = new Irradiation(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.NetFramework.g.cs
index 7f291dac8a..2706ee8908 100644
--- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public KinematicViscosity(double numericValue, KinematicViscosityUnit unit)
///
/// The base unit of KinematicViscosity, which is SquareMeterPerSecond. All conversions go via this value.
///
- public static KinematicViscosityUnit BaseUnit => KinematicViscosityUnit.SquareMeterPerSecond;
+ public static KinematicViscosityUnit BaseUnit { get; } = KinematicViscosityUnit.SquareMeterPerSecond;
///
/// Represents the largest possible value of KinematicViscosity
///
- public static KinematicViscosity MaxValue => new KinematicViscosity(double.MaxValue, BaseUnit);
+ public static KinematicViscosity MaxValue { get; } = new KinematicViscosity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of KinematicViscosity
///
- public static KinematicViscosity MinValue => new KinematicViscosity(double.MinValue, BaseUnit);
+ public static KinematicViscosity MinValue { get; } = new KinematicViscosity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.KinematicViscosity;
+ public static QuantityType QuantityType { get; } = QuantityType.KinematicViscosity;
///
/// All units of measurement for the KinematicViscosity quantity.
@@ -120,7 +120,7 @@ public KinematicViscosity(double numericValue, KinematicViscosityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SquareMeterPerSecond.
///
- public static KinematicViscosity Zero => new KinematicViscosity(0, BaseUnit);
+ public static KinematicViscosity Zero { get; } = new KinematicViscosity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/LapseRate.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/LapseRate.NetFramework.g.cs
index be4066d7f3..32917196b5 100644
--- a/UnitsNet/GeneratedCode/Quantities/LapseRate.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LapseRate.NetFramework.g.cs
@@ -92,22 +92,22 @@ public LapseRate(double numericValue, LapseRateUnit unit)
///
/// The base unit of LapseRate, which is DegreeCelsiusPerKilometer. All conversions go via this value.
///
- public static LapseRateUnit BaseUnit => LapseRateUnit.DegreeCelsiusPerKilometer;
+ public static LapseRateUnit BaseUnit { get; } = LapseRateUnit.DegreeCelsiusPerKilometer;
///
/// Represents the largest possible value of LapseRate
///
- public static LapseRate MaxValue => new LapseRate(double.MaxValue, BaseUnit);
+ public static LapseRate MaxValue { get; } = new LapseRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LapseRate
///
- public static LapseRate MinValue => new LapseRate(double.MinValue, BaseUnit);
+ public static LapseRate MinValue { get; } = new LapseRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LapseRate;
+ public static QuantityType QuantityType { get; } = QuantityType.LapseRate;
///
/// All units of measurement for the LapseRate quantity.
@@ -117,7 +117,7 @@ public LapseRate(double numericValue, LapseRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DegreeCelsiusPerKilometer.
///
- public static LapseRate Zero => new LapseRate(0, BaseUnit);
+ public static LapseRate Zero { get; } = new LapseRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Length.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Length.NetFramework.g.cs
index e03e322247..b99f958318 100644
--- a/UnitsNet/GeneratedCode/Quantities/Length.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Length.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Length(double numericValue, LengthUnit unit)
///
/// The base unit of Length, which is Meter. All conversions go via this value.
///
- public static LengthUnit BaseUnit => LengthUnit.Meter;
+ public static LengthUnit BaseUnit { get; } = LengthUnit.Meter;
///
/// Represents the largest possible value of Length
///
- public static Length MaxValue => new Length(double.MaxValue, BaseUnit);
+ public static Length MaxValue { get; } = new Length(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Length
///
- public static Length MinValue => new Length(double.MinValue, BaseUnit);
+ public static Length MinValue { get; } = new Length(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Length;
+ public static QuantityType QuantityType { get; } = QuantityType.Length;
///
/// All units of measurement for the Length quantity.
@@ -117,7 +117,7 @@ public Length(double numericValue, LengthUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Meter.
///
- public static Length Zero => new Length(0, BaseUnit);
+ public static Length Zero { get; } = new Length(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Level.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Level.NetFramework.g.cs
index e35db5d5c1..2341a73eb2 100644
--- a/UnitsNet/GeneratedCode/Quantities/Level.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Level.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Level(double numericValue, LevelUnit unit)
///
/// The base unit of Level, which is Decibel. All conversions go via this value.
///
- public static LevelUnit BaseUnit => LevelUnit.Decibel;
+ public static LevelUnit BaseUnit { get; } = LevelUnit.Decibel;
///
/// Represents the largest possible value of Level
///
- public static Level MaxValue => new Level(double.MaxValue, BaseUnit);
+ public static Level MaxValue { get; } = new Level(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Level
///
- public static Level MinValue => new Level(double.MinValue, BaseUnit);
+ public static Level MinValue { get; } = new Level(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Level;
+ public static QuantityType QuantityType { get; } = QuantityType.Level;
///
/// All units of measurement for the Level quantity.
@@ -117,7 +117,7 @@ public Level(double numericValue, LevelUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Decibel.
///
- public static Level Zero => new Level(0, BaseUnit);
+ public static Level Zero { get; } = new Level(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/LinearDensity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearDensity.NetFramework.g.cs
index cbf5870f3b..2181591ddb 100644
--- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public LinearDensity(double numericValue, LinearDensityUnit unit)
///
/// The base unit of LinearDensity, which is KilogramPerMeter. All conversions go via this value.
///
- public static LinearDensityUnit BaseUnit => LinearDensityUnit.KilogramPerMeter;
+ public static LinearDensityUnit BaseUnit { get; } = LinearDensityUnit.KilogramPerMeter;
///
/// Represents the largest possible value of LinearDensity
///
- public static LinearDensity MaxValue => new LinearDensity(double.MaxValue, BaseUnit);
+ public static LinearDensity MaxValue { get; } = new LinearDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LinearDensity
///
- public static LinearDensity MinValue => new LinearDensity(double.MinValue, BaseUnit);
+ public static LinearDensity MinValue { get; } = new LinearDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LinearDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.LinearDensity;
///
/// All units of measurement for the LinearDensity quantity.
@@ -120,7 +120,7 @@ public LinearDensity(double numericValue, LinearDensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerMeter.
///
- public static LinearDensity Zero => new LinearDensity(0, BaseUnit);
+ public static LinearDensity Zero { get; } = new LinearDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.NetFramework.g.cs
index a7ee796bb5..b607dcf7d5 100644
--- a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.NetFramework.g.cs
@@ -95,22 +95,22 @@ public LuminousFlux(double numericValue, LuminousFluxUnit unit)
///
/// The base unit of LuminousFlux, which is Lumen. All conversions go via this value.
///
- public static LuminousFluxUnit BaseUnit => LuminousFluxUnit.Lumen;
+ public static LuminousFluxUnit BaseUnit { get; } = LuminousFluxUnit.Lumen;
///
/// Represents the largest possible value of LuminousFlux
///
- public static LuminousFlux MaxValue => new LuminousFlux(double.MaxValue, BaseUnit);
+ public static LuminousFlux MaxValue { get; } = new LuminousFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LuminousFlux
///
- public static LuminousFlux MinValue => new LuminousFlux(double.MinValue, BaseUnit);
+ public static LuminousFlux MinValue { get; } = new LuminousFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LuminousFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.LuminousFlux;
///
/// All units of measurement for the LuminousFlux quantity.
@@ -120,7 +120,7 @@ public LuminousFlux(double numericValue, LuminousFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Lumen.
///
- public static LuminousFlux Zero => new LuminousFlux(0, BaseUnit);
+ public static LuminousFlux Zero { get; } = new LuminousFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.NetFramework.g.cs
index ebfd3b327e..140d69e819 100644
--- a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public LuminousIntensity(double numericValue, LuminousIntensityUnit unit)
///
/// The base unit of LuminousIntensity, which is Candela. All conversions go via this value.
///
- public static LuminousIntensityUnit BaseUnit => LuminousIntensityUnit.Candela;
+ public static LuminousIntensityUnit BaseUnit { get; } = LuminousIntensityUnit.Candela;
///
/// Represents the largest possible value of LuminousIntensity
///
- public static LuminousIntensity MaxValue => new LuminousIntensity(double.MaxValue, BaseUnit);
+ public static LuminousIntensity MaxValue { get; } = new LuminousIntensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of LuminousIntensity
///
- public static LuminousIntensity MinValue => new LuminousIntensity(double.MinValue, BaseUnit);
+ public static LuminousIntensity MinValue { get; } = new LuminousIntensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.LuminousIntensity;
+ public static QuantityType QuantityType { get; } = QuantityType.LuminousIntensity;
///
/// All units of measurement for the LuminousIntensity quantity.
@@ -120,7 +120,7 @@ public LuminousIntensity(double numericValue, LuminousIntensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Candela.
///
- public static LuminousIntensity Zero => new LuminousIntensity(0, BaseUnit);
+ public static LuminousIntensity Zero { get; } = new LuminousIntensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticField.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticField.NetFramework.g.cs
index 3e218c9500..d41a947096 100644
--- a/UnitsNet/GeneratedCode/Quantities/MagneticField.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MagneticField.NetFramework.g.cs
@@ -95,22 +95,22 @@ public MagneticField(double numericValue, MagneticFieldUnit unit)
///
/// The base unit of MagneticField, which is Tesla. All conversions go via this value.
///
- public static MagneticFieldUnit BaseUnit => MagneticFieldUnit.Tesla;
+ public static MagneticFieldUnit BaseUnit { get; } = MagneticFieldUnit.Tesla;
///
/// Represents the largest possible value of MagneticField
///
- public static MagneticField MaxValue => new MagneticField(double.MaxValue, BaseUnit);
+ public static MagneticField MaxValue { get; } = new MagneticField(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MagneticField
///
- public static MagneticField MinValue => new MagneticField(double.MinValue, BaseUnit);
+ public static MagneticField MinValue { get; } = new MagneticField(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MagneticField;
+ public static QuantityType QuantityType { get; } = QuantityType.MagneticField;
///
/// All units of measurement for the MagneticField quantity.
@@ -120,7 +120,7 @@ public MagneticField(double numericValue, MagneticFieldUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Tesla.
///
- public static MagneticField Zero => new MagneticField(0, BaseUnit);
+ public static MagneticField Zero { get; } = new MagneticField(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.NetFramework.g.cs
index 6758122032..dbdd27fde0 100644
--- a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.NetFramework.g.cs
@@ -95,22 +95,22 @@ public MagneticFlux(double numericValue, MagneticFluxUnit unit)
///
/// The base unit of MagneticFlux, which is Weber. All conversions go via this value.
///
- public static MagneticFluxUnit BaseUnit => MagneticFluxUnit.Weber;
+ public static MagneticFluxUnit BaseUnit { get; } = MagneticFluxUnit.Weber;
///
/// Represents the largest possible value of MagneticFlux
///
- public static MagneticFlux MaxValue => new MagneticFlux(double.MaxValue, BaseUnit);
+ public static MagneticFlux MaxValue { get; } = new MagneticFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MagneticFlux
///
- public static MagneticFlux MinValue => new MagneticFlux(double.MinValue, BaseUnit);
+ public static MagneticFlux MinValue { get; } = new MagneticFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MagneticFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.MagneticFlux;
///
/// All units of measurement for the MagneticFlux quantity.
@@ -120,7 +120,7 @@ public MagneticFlux(double numericValue, MagneticFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Weber.
///
- public static MagneticFlux Zero => new MagneticFlux(0, BaseUnit);
+ public static MagneticFlux Zero { get; } = new MagneticFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Magnetization.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Magnetization.NetFramework.g.cs
index fb03bce307..176584354c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Magnetization.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Magnetization.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Magnetization(double numericValue, MagnetizationUnit unit)
///
/// The base unit of Magnetization, which is AmperePerMeter. All conversions go via this value.
///
- public static MagnetizationUnit BaseUnit => MagnetizationUnit.AmperePerMeter;
+ public static MagnetizationUnit BaseUnit { get; } = MagnetizationUnit.AmperePerMeter;
///
/// Represents the largest possible value of Magnetization
///
- public static Magnetization MaxValue => new Magnetization(double.MaxValue, BaseUnit);
+ public static Magnetization MaxValue { get; } = new Magnetization(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Magnetization
///
- public static Magnetization MinValue => new Magnetization(double.MinValue, BaseUnit);
+ public static Magnetization MinValue { get; } = new Magnetization(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Magnetization;
+ public static QuantityType QuantityType { get; } = QuantityType.Magnetization;
///
/// All units of measurement for the Magnetization quantity.
@@ -120,7 +120,7 @@ public Magnetization(double numericValue, MagnetizationUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit AmperePerMeter.
///
- public static Magnetization Zero => new Magnetization(0, BaseUnit);
+ public static Magnetization Zero { get; } = new Magnetization(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Mass.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Mass.NetFramework.g.cs
index eae1d5a933..db50819870 100644
--- a/UnitsNet/GeneratedCode/Quantities/Mass.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Mass.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Mass(double numericValue, MassUnit unit)
///
/// The base unit of Mass, which is Kilogram. All conversions go via this value.
///
- public static MassUnit BaseUnit => MassUnit.Kilogram;
+ public static MassUnit BaseUnit { get; } = MassUnit.Kilogram;
///
/// Represents the largest possible value of Mass
///
- public static Mass MaxValue => new Mass(double.MaxValue, BaseUnit);
+ public static Mass MaxValue { get; } = new Mass(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Mass
///
- public static Mass MinValue => new Mass(double.MinValue, BaseUnit);
+ public static Mass MinValue { get; } = new Mass(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Mass;
+ public static QuantityType QuantityType { get; } = QuantityType.Mass;
///
/// All units of measurement for the Mass quantity.
@@ -117,7 +117,7 @@ public Mass(double numericValue, MassUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Kilogram.
///
- public static Mass Zero => new Mass(0, BaseUnit);
+ public static Mass Zero { get; } = new Mass(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlow.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlow.NetFramework.g.cs
index 9f38386230..c97e0e3e27 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFlow.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.NetFramework.g.cs
@@ -92,22 +92,22 @@ public MassFlow(double numericValue, MassFlowUnit unit)
///
/// The base unit of MassFlow, which is GramPerSecond. All conversions go via this value.
///
- public static MassFlowUnit BaseUnit => MassFlowUnit.GramPerSecond;
+ public static MassFlowUnit BaseUnit { get; } = MassFlowUnit.GramPerSecond;
///
/// Represents the largest possible value of MassFlow
///
- public static MassFlow MaxValue => new MassFlow(double.MaxValue, BaseUnit);
+ public static MassFlow MaxValue { get; } = new MassFlow(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MassFlow
///
- public static MassFlow MinValue => new MassFlow(double.MinValue, BaseUnit);
+ public static MassFlow MinValue { get; } = new MassFlow(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MassFlow;
+ public static QuantityType QuantityType { get; } = QuantityType.MassFlow;
///
/// All units of measurement for the MassFlow quantity.
@@ -117,7 +117,7 @@ public MassFlow(double numericValue, MassFlowUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit GramPerSecond.
///
- public static MassFlow Zero => new MassFlow(0, BaseUnit);
+ public static MassFlow Zero { get; } = new MassFlow(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlux.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlux.NetFramework.g.cs
index 6e77cad9f0..0c811035cf 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFlux.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFlux.NetFramework.g.cs
@@ -92,22 +92,22 @@ public MassFlux(double numericValue, MassFluxUnit unit)
///
/// The base unit of MassFlux, which is KilogramPerSecondPerSquareMeter. All conversions go via this value.
///
- public static MassFluxUnit BaseUnit => MassFluxUnit.KilogramPerSecondPerSquareMeter;
+ public static MassFluxUnit BaseUnit { get; } = MassFluxUnit.KilogramPerSecondPerSquareMeter;
///
/// Represents the largest possible value of MassFlux
///
- public static MassFlux MaxValue => new MassFlux(double.MaxValue, BaseUnit);
+ public static MassFlux MaxValue { get; } = new MassFlux(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MassFlux
///
- public static MassFlux MinValue => new MassFlux(double.MinValue, BaseUnit);
+ public static MassFlux MinValue { get; } = new MassFlux(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MassFlux;
+ public static QuantityType QuantityType { get; } = QuantityType.MassFlux;
///
/// All units of measurement for the MassFlux quantity.
@@ -117,7 +117,7 @@ public MassFlux(double numericValue, MassFluxUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerSecondPerSquareMeter.
///
- public static MassFlux Zero => new MassFlux(0, BaseUnit);
+ public static MassFlux Zero { get; } = new MassFlux(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.NetFramework.g.cs
index 8a99f8e914..82b43eb65f 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.NetFramework.g.cs
@@ -92,22 +92,22 @@ public MassMomentOfInertia(double numericValue, MassMomentOfInertiaUnit unit)
///
/// The base unit of MassMomentOfInertia, which is KilogramSquareMeter. All conversions go via this value.
///
- public static MassMomentOfInertiaUnit BaseUnit => MassMomentOfInertiaUnit.KilogramSquareMeter;
+ public static MassMomentOfInertiaUnit BaseUnit { get; } = MassMomentOfInertiaUnit.KilogramSquareMeter;
///
/// Represents the largest possible value of MassMomentOfInertia
///
- public static MassMomentOfInertia MaxValue => new MassMomentOfInertia(double.MaxValue, BaseUnit);
+ public static MassMomentOfInertia MaxValue { get; } = new MassMomentOfInertia(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MassMomentOfInertia
///
- public static MassMomentOfInertia MinValue => new MassMomentOfInertia(double.MinValue, BaseUnit);
+ public static MassMomentOfInertia MinValue { get; } = new MassMomentOfInertia(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MassMomentOfInertia;
+ public static QuantityType QuantityType { get; } = QuantityType.MassMomentOfInertia;
///
/// All units of measurement for the MassMomentOfInertia quantity.
@@ -117,7 +117,7 @@ public MassMomentOfInertia(double numericValue, MassMomentOfInertiaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramSquareMeter.
///
- public static MassMomentOfInertia Zero => new MassMomentOfInertia(0, BaseUnit);
+ public static MassMomentOfInertia Zero { get; } = new MassMomentOfInertia(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.NetFramework.g.cs
index a1e0c9befd..dfa6b62b6d 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.NetFramework.g.cs
@@ -92,22 +92,22 @@ public MolarEnergy(double numericValue, MolarEnergyUnit unit)
///
/// The base unit of MolarEnergy, which is JoulePerMole. All conversions go via this value.
///
- public static MolarEnergyUnit BaseUnit => MolarEnergyUnit.JoulePerMole;
+ public static MolarEnergyUnit BaseUnit { get; } = MolarEnergyUnit.JoulePerMole;
///
/// Represents the largest possible value of MolarEnergy
///
- public static MolarEnergy MaxValue => new MolarEnergy(double.MaxValue, BaseUnit);
+ public static MolarEnergy MaxValue { get; } = new MolarEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MolarEnergy
///
- public static MolarEnergy MinValue => new MolarEnergy(double.MinValue, BaseUnit);
+ public static MolarEnergy MinValue { get; } = new MolarEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MolarEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.MolarEnergy;
///
/// All units of measurement for the MolarEnergy quantity.
@@ -117,7 +117,7 @@ public MolarEnergy(double numericValue, MolarEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerMole.
///
- public static MolarEnergy Zero => new MolarEnergy(0, BaseUnit);
+ public static MolarEnergy Zero { get; } = new MolarEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.NetFramework.g.cs
index 807f2ef8b4..fd1a3c6263 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.NetFramework.g.cs
@@ -92,22 +92,22 @@ public MolarEntropy(double numericValue, MolarEntropyUnit unit)
///
/// The base unit of MolarEntropy, which is JoulePerMoleKelvin. All conversions go via this value.
///
- public static MolarEntropyUnit BaseUnit => MolarEntropyUnit.JoulePerMoleKelvin;
+ public static MolarEntropyUnit BaseUnit { get; } = MolarEntropyUnit.JoulePerMoleKelvin;
///
/// Represents the largest possible value of MolarEntropy
///
- public static MolarEntropy MaxValue => new MolarEntropy(double.MaxValue, BaseUnit);
+ public static MolarEntropy MaxValue { get; } = new MolarEntropy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MolarEntropy
///
- public static MolarEntropy MinValue => new MolarEntropy(double.MinValue, BaseUnit);
+ public static MolarEntropy MinValue { get; } = new MolarEntropy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MolarEntropy;
+ public static QuantityType QuantityType { get; } = QuantityType.MolarEntropy;
///
/// All units of measurement for the MolarEntropy quantity.
@@ -117,7 +117,7 @@ public MolarEntropy(double numericValue, MolarEntropyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerMoleKelvin.
///
- public static MolarEntropy Zero => new MolarEntropy(0, BaseUnit);
+ public static MolarEntropy Zero { get; } = new MolarEntropy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarMass.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarMass.NetFramework.g.cs
index a9ac972482..4721d8b907 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarMass.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarMass.NetFramework.g.cs
@@ -92,22 +92,22 @@ public MolarMass(double numericValue, MolarMassUnit unit)
///
/// The base unit of MolarMass, which is KilogramPerMole. All conversions go via this value.
///
- public static MolarMassUnit BaseUnit => MolarMassUnit.KilogramPerMole;
+ public static MolarMassUnit BaseUnit { get; } = MolarMassUnit.KilogramPerMole;
///
/// Represents the largest possible value of MolarMass
///
- public static MolarMass MaxValue => new MolarMass(double.MaxValue, BaseUnit);
+ public static MolarMass MaxValue { get; } = new MolarMass(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of MolarMass
///
- public static MolarMass MinValue => new MolarMass(double.MinValue, BaseUnit);
+ public static MolarMass MinValue { get; } = new MolarMass(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.MolarMass;
+ public static QuantityType QuantityType { get; } = QuantityType.MolarMass;
///
/// All units of measurement for the MolarMass quantity.
@@ -117,7 +117,7 @@ public MolarMass(double numericValue, MolarMassUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit KilogramPerMole.
///
- public static MolarMass Zero => new MolarMass(0, BaseUnit);
+ public static MolarMass Zero { get; } = new MolarMass(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Molarity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Molarity.NetFramework.g.cs
index c3bb500b58..9094636403 100644
--- a/UnitsNet/GeneratedCode/Quantities/Molarity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Molarity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Molarity(double numericValue, MolarityUnit unit)
///
/// The base unit of Molarity, which is MolesPerCubicMeter. All conversions go via this value.
///
- public static MolarityUnit BaseUnit => MolarityUnit.MolesPerCubicMeter;
+ public static MolarityUnit BaseUnit { get; } = MolarityUnit.MolesPerCubicMeter;
///
/// Represents the largest possible value of Molarity
///
- public static Molarity MaxValue => new Molarity(double.MaxValue, BaseUnit);
+ public static Molarity MaxValue { get; } = new Molarity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Molarity
///
- public static Molarity MinValue => new Molarity(double.MinValue, BaseUnit);
+ public static Molarity MinValue { get; } = new Molarity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Molarity;
+ public static QuantityType QuantityType { get; } = QuantityType.Molarity;
///
/// All units of measurement for the Molarity quantity.
@@ -120,7 +120,7 @@ public Molarity(double numericValue, MolarityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MolesPerCubicMeter.
///
- public static Molarity Zero => new Molarity(0, BaseUnit);
+ public static Molarity Zero { get; } = new Molarity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Permeability.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Permeability.NetFramework.g.cs
index c837854442..02ab452db7 100644
--- a/UnitsNet/GeneratedCode/Quantities/Permeability.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Permeability.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Permeability(double numericValue, PermeabilityUnit unit)
///
/// The base unit of Permeability, which is HenryPerMeter. All conversions go via this value.
///
- public static PermeabilityUnit BaseUnit => PermeabilityUnit.HenryPerMeter;
+ public static PermeabilityUnit BaseUnit { get; } = PermeabilityUnit.HenryPerMeter;
///
/// Represents the largest possible value of Permeability
///
- public static Permeability MaxValue => new Permeability(double.MaxValue, BaseUnit);
+ public static Permeability MaxValue { get; } = new Permeability(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Permeability
///
- public static Permeability MinValue => new Permeability(double.MinValue, BaseUnit);
+ public static Permeability MinValue { get; } = new Permeability(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Permeability;
+ public static QuantityType QuantityType { get; } = QuantityType.Permeability;
///
/// All units of measurement for the Permeability quantity.
@@ -120,7 +120,7 @@ public Permeability(double numericValue, PermeabilityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit HenryPerMeter.
///
- public static Permeability Zero => new Permeability(0, BaseUnit);
+ public static Permeability Zero { get; } = new Permeability(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Permittivity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Permittivity.NetFramework.g.cs
index 0135c92d4c..1e70c4a242 100644
--- a/UnitsNet/GeneratedCode/Quantities/Permittivity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Permittivity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public Permittivity(double numericValue, PermittivityUnit unit)
///
/// The base unit of Permittivity, which is FaradPerMeter. All conversions go via this value.
///
- public static PermittivityUnit BaseUnit => PermittivityUnit.FaradPerMeter;
+ public static PermittivityUnit BaseUnit { get; } = PermittivityUnit.FaradPerMeter;
///
/// Represents the largest possible value of Permittivity
///
- public static Permittivity MaxValue => new Permittivity(double.MaxValue, BaseUnit);
+ public static Permittivity MaxValue { get; } = new Permittivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Permittivity
///
- public static Permittivity MinValue => new Permittivity(double.MinValue, BaseUnit);
+ public static Permittivity MinValue { get; } = new Permittivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Permittivity;
+ public static QuantityType QuantityType { get; } = QuantityType.Permittivity;
///
/// All units of measurement for the Permittivity quantity.
@@ -120,7 +120,7 @@ public Permittivity(double numericValue, PermittivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit FaradPerMeter.
///
- public static Permittivity Zero => new Permittivity(0, BaseUnit);
+ public static Permittivity Zero { get; } = new Permittivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Power.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Power.NetFramework.g.cs
index 5af1aba2d9..18faeda9a1 100644
--- a/UnitsNet/GeneratedCode/Quantities/Power.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Power.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Power(decimal numericValue, PowerUnit unit)
///
/// The base unit of Power, which is Watt. All conversions go via this value.
///
- public static PowerUnit BaseUnit => PowerUnit.Watt;
+ public static PowerUnit BaseUnit { get; } = PowerUnit.Watt;
///
/// Represents the largest possible value of Power
///
- public static Power MaxValue => new Power(decimal.MaxValue, BaseUnit);
+ public static Power MaxValue { get; } = new Power(decimal.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Power
///
- public static Power MinValue => new Power(decimal.MinValue, BaseUnit);
+ public static Power MinValue { get; } = new Power(decimal.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Power;
+ public static QuantityType QuantityType { get; } = QuantityType.Power;
///
/// All units of measurement for the Power quantity.
@@ -117,7 +117,7 @@ public Power(decimal numericValue, PowerUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Watt.
///
- public static Power Zero => new Power(0, BaseUnit);
+ public static Power Zero { get; } = new Power(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/PowerDensity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerDensity.NetFramework.g.cs
index 0561b93c66..9eba92a219 100644
--- a/UnitsNet/GeneratedCode/Quantities/PowerDensity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PowerDensity.NetFramework.g.cs
@@ -92,22 +92,22 @@ public PowerDensity(double numericValue, PowerDensityUnit unit)
///
/// The base unit of PowerDensity, which is WattPerCubicMeter. All conversions go via this value.
///
- public static PowerDensityUnit BaseUnit => PowerDensityUnit.WattPerCubicMeter;
+ public static PowerDensityUnit BaseUnit { get; } = PowerDensityUnit.WattPerCubicMeter;
///
/// Represents the largest possible value of PowerDensity
///
- public static PowerDensity MaxValue => new PowerDensity(double.MaxValue, BaseUnit);
+ public static PowerDensity MaxValue { get; } = new PowerDensity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of PowerDensity
///
- public static PowerDensity MinValue => new PowerDensity(double.MinValue, BaseUnit);
+ public static PowerDensity MinValue { get; } = new PowerDensity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.PowerDensity;
+ public static QuantityType QuantityType { get; } = QuantityType.PowerDensity;
///
/// All units of measurement for the PowerDensity quantity.
@@ -117,7 +117,7 @@ public PowerDensity(double numericValue, PowerDensityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerCubicMeter.
///
- public static PowerDensity Zero => new PowerDensity(0, BaseUnit);
+ public static PowerDensity Zero { get; } = new PowerDensity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/PowerRatio.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerRatio.NetFramework.g.cs
index 3173544500..b3c113cf13 100644
--- a/UnitsNet/GeneratedCode/Quantities/PowerRatio.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PowerRatio.NetFramework.g.cs
@@ -92,22 +92,22 @@ public PowerRatio(double numericValue, PowerRatioUnit unit)
///
/// The base unit of PowerRatio, which is DecibelWatt. All conversions go via this value.
///
- public static PowerRatioUnit BaseUnit => PowerRatioUnit.DecibelWatt;
+ public static PowerRatioUnit BaseUnit { get; } = PowerRatioUnit.DecibelWatt;
///
/// Represents the largest possible value of PowerRatio
///
- public static PowerRatio MaxValue => new PowerRatio(double.MaxValue, BaseUnit);
+ public static PowerRatio MaxValue { get; } = new PowerRatio(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of PowerRatio
///
- public static PowerRatio MinValue => new PowerRatio(double.MinValue, BaseUnit);
+ public static PowerRatio MinValue { get; } = new PowerRatio(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.PowerRatio;
+ public static QuantityType QuantityType { get; } = QuantityType.PowerRatio;
///
/// All units of measurement for the PowerRatio quantity.
@@ -117,7 +117,7 @@ public PowerRatio(double numericValue, PowerRatioUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DecibelWatt.
///
- public static PowerRatio Zero => new PowerRatio(0, BaseUnit);
+ public static PowerRatio Zero { get; } = new PowerRatio(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Pressure.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Pressure.NetFramework.g.cs
index 6f3c83bb1b..0d47de1c2a 100644
--- a/UnitsNet/GeneratedCode/Quantities/Pressure.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Pressure.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Pressure(double numericValue, PressureUnit unit)
///
/// The base unit of Pressure, which is Pascal. All conversions go via this value.
///
- public static PressureUnit BaseUnit => PressureUnit.Pascal;
+ public static PressureUnit BaseUnit { get; } = PressureUnit.Pascal;
///
/// Represents the largest possible value of Pressure
///
- public static Pressure MaxValue => new Pressure(double.MaxValue, BaseUnit);
+ public static Pressure MaxValue { get; } = new Pressure(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Pressure
///
- public static Pressure MinValue => new Pressure(double.MinValue, BaseUnit);
+ public static Pressure MinValue { get; } = new Pressure(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Pressure;
+ public static QuantityType QuantityType { get; } = QuantityType.Pressure;
///
/// All units of measurement for the Pressure quantity.
@@ -117,7 +117,7 @@ public Pressure(double numericValue, PressureUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Pascal.
///
- public static Pressure Zero => new Pressure(0, BaseUnit);
+ public static Pressure Zero { get; } = new Pressure(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.NetFramework.g.cs
index fa8d86b36f..3bb2d8a080 100644
--- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.NetFramework.g.cs
@@ -92,22 +92,22 @@ public PressureChangeRate(double numericValue, PressureChangeRateUnit unit)
///
/// The base unit of PressureChangeRate, which is PascalPerSecond. All conversions go via this value.
///
- public static PressureChangeRateUnit BaseUnit => PressureChangeRateUnit.PascalPerSecond;
+ public static PressureChangeRateUnit BaseUnit { get; } = PressureChangeRateUnit.PascalPerSecond;
///
/// Represents the largest possible value of PressureChangeRate
///
- public static PressureChangeRate MaxValue => new PressureChangeRate(double.MaxValue, BaseUnit);
+ public static PressureChangeRate MaxValue { get; } = new PressureChangeRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of PressureChangeRate
///
- public static PressureChangeRate MinValue => new PressureChangeRate(double.MinValue, BaseUnit);
+ public static PressureChangeRate MinValue { get; } = new PressureChangeRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.PressureChangeRate;
+ public static QuantityType QuantityType { get; } = QuantityType.PressureChangeRate;
///
/// All units of measurement for the PressureChangeRate quantity.
@@ -117,7 +117,7 @@ public PressureChangeRate(double numericValue, PressureChangeRateUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit PascalPerSecond.
///
- public static PressureChangeRate Zero => new PressureChangeRate(0, BaseUnit);
+ public static PressureChangeRate Zero { get; } = new PressureChangeRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Ratio.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Ratio.NetFramework.g.cs
index 3162555801..cd4a096efc 100644
--- a/UnitsNet/GeneratedCode/Quantities/Ratio.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Ratio.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Ratio(double numericValue, RatioUnit unit)
///
/// The base unit of Ratio, which is DecimalFraction. All conversions go via this value.
///
- public static RatioUnit BaseUnit => RatioUnit.DecimalFraction;
+ public static RatioUnit BaseUnit { get; } = RatioUnit.DecimalFraction;
///
/// Represents the largest possible value of Ratio
///
- public static Ratio MaxValue => new Ratio(double.MaxValue, BaseUnit);
+ public static Ratio MaxValue { get; } = new Ratio(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Ratio
///
- public static Ratio MinValue => new Ratio(double.MinValue, BaseUnit);
+ public static Ratio MinValue { get; } = new Ratio(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Ratio;
+ public static QuantityType QuantityType { get; } = QuantityType.Ratio;
///
/// All units of measurement for the Ratio quantity.
@@ -117,7 +117,7 @@ public Ratio(double numericValue, RatioUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit DecimalFraction.
///
- public static Ratio Zero => new Ratio(0, BaseUnit);
+ public static Ratio Zero { get; } = new Ratio(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.NetFramework.g.cs
index 11a5edac93..9b994dd9b5 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ReactiveEnergy(double numericValue, ReactiveEnergyUnit unit)
///
/// The base unit of ReactiveEnergy, which is VoltampereReactiveHour. All conversions go via this value.
///
- public static ReactiveEnergyUnit BaseUnit => ReactiveEnergyUnit.VoltampereReactiveHour;
+ public static ReactiveEnergyUnit BaseUnit { get; } = ReactiveEnergyUnit.VoltampereReactiveHour;
///
/// Represents the largest possible value of ReactiveEnergy
///
- public static ReactiveEnergy MaxValue => new ReactiveEnergy(double.MaxValue, BaseUnit);
+ public static ReactiveEnergy MaxValue { get; } = new ReactiveEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ReactiveEnergy
///
- public static ReactiveEnergy MinValue => new ReactiveEnergy(double.MinValue, BaseUnit);
+ public static ReactiveEnergy MinValue { get; } = new ReactiveEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ReactiveEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.ReactiveEnergy;
///
/// All units of measurement for the ReactiveEnergy quantity.
@@ -117,7 +117,7 @@ public ReactiveEnergy(double numericValue, ReactiveEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltampereReactiveHour.
///
- public static ReactiveEnergy Zero => new ReactiveEnergy(0, BaseUnit);
+ public static ReactiveEnergy Zero { get; } = new ReactiveEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ReactivePower.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactivePower.NetFramework.g.cs
index aa09b88dd1..f96d7f69f9 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReactivePower.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReactivePower.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ReactivePower(double numericValue, ReactivePowerUnit unit)
///
/// The base unit of ReactivePower, which is VoltampereReactive. All conversions go via this value.
///
- public static ReactivePowerUnit BaseUnit => ReactivePowerUnit.VoltampereReactive;
+ public static ReactivePowerUnit BaseUnit { get; } = ReactivePowerUnit.VoltampereReactive;
///
/// Represents the largest possible value of ReactivePower
///
- public static ReactivePower MaxValue => new ReactivePower(double.MaxValue, BaseUnit);
+ public static ReactivePower MaxValue { get; } = new ReactivePower(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ReactivePower
///
- public static ReactivePower MinValue => new ReactivePower(double.MinValue, BaseUnit);
+ public static ReactivePower MinValue { get; } = new ReactivePower(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ReactivePower;
+ public static QuantityType QuantityType { get; } = QuantityType.ReactivePower;
///
/// All units of measurement for the ReactivePower quantity.
@@ -117,7 +117,7 @@ public ReactivePower(double numericValue, ReactivePowerUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit VoltampereReactive.
///
- public static ReactivePower Zero => new ReactivePower(0, BaseUnit);
+ public static ReactivePower Zero { get; } = new ReactivePower(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.NetFramework.g.cs
index 687e2d4e0e..54f5c82f10 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.NetFramework.g.cs
@@ -92,22 +92,22 @@ public RotationalAcceleration(double numericValue, RotationalAccelerationUnit un
///
/// The base unit of RotationalAcceleration, which is RadianPerSecondSquared. All conversions go via this value.
///
- public static RotationalAccelerationUnit BaseUnit => RotationalAccelerationUnit.RadianPerSecondSquared;
+ public static RotationalAccelerationUnit BaseUnit { get; } = RotationalAccelerationUnit.RadianPerSecondSquared;
///
/// Represents the largest possible value of RotationalAcceleration
///
- public static RotationalAcceleration MaxValue => new RotationalAcceleration(double.MaxValue, BaseUnit);
+ public static RotationalAcceleration MaxValue { get; } = new RotationalAcceleration(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalAcceleration
///
- public static RotationalAcceleration MinValue => new RotationalAcceleration(double.MinValue, BaseUnit);
+ public static RotationalAcceleration MinValue { get; } = new RotationalAcceleration(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalAcceleration;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalAcceleration;
///
/// All units of measurement for the RotationalAcceleration quantity.
@@ -117,7 +117,7 @@ public RotationalAcceleration(double numericValue, RotationalAccelerationUnit un
///
/// Gets an instance of this quantity with a value of 0 in the base unit RadianPerSecondSquared.
///
- public static RotationalAcceleration Zero => new RotationalAcceleration(0, BaseUnit);
+ public static RotationalAcceleration Zero { get; } = new RotationalAcceleration(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.NetFramework.g.cs
index 9757bcca37..c516604501 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.NetFramework.g.cs
@@ -92,22 +92,22 @@ public RotationalSpeed(double numericValue, RotationalSpeedUnit unit)
///
/// The base unit of RotationalSpeed, which is RadianPerSecond. All conversions go via this value.
///
- public static RotationalSpeedUnit BaseUnit => RotationalSpeedUnit.RadianPerSecond;
+ public static RotationalSpeedUnit BaseUnit { get; } = RotationalSpeedUnit.RadianPerSecond;
///
/// Represents the largest possible value of RotationalSpeed
///
- public static RotationalSpeed MaxValue => new RotationalSpeed(double.MaxValue, BaseUnit);
+ public static RotationalSpeed MaxValue { get; } = new RotationalSpeed(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalSpeed
///
- public static RotationalSpeed MinValue => new RotationalSpeed(double.MinValue, BaseUnit);
+ public static RotationalSpeed MinValue { get; } = new RotationalSpeed(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalSpeed;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalSpeed;
///
/// All units of measurement for the RotationalSpeed quantity.
@@ -117,7 +117,7 @@ public RotationalSpeed(double numericValue, RotationalSpeedUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit RadianPerSecond.
///
- public static RotationalSpeed Zero => new RotationalSpeed(0, BaseUnit);
+ public static RotationalSpeed Zero { get; } = new RotationalSpeed(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.NetFramework.g.cs
index 083edb31ff..06f27db81a 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.NetFramework.g.cs
@@ -92,22 +92,22 @@ public RotationalStiffness(double numericValue, RotationalStiffnessUnit unit)
///
/// The base unit of RotationalStiffness, which is NewtonMeterPerRadian. All conversions go via this value.
///
- public static RotationalStiffnessUnit BaseUnit => RotationalStiffnessUnit.NewtonMeterPerRadian;
+ public static RotationalStiffnessUnit BaseUnit { get; } = RotationalStiffnessUnit.NewtonMeterPerRadian;
///
/// Represents the largest possible value of RotationalStiffness
///
- public static RotationalStiffness MaxValue => new RotationalStiffness(double.MaxValue, BaseUnit);
+ public static RotationalStiffness MaxValue { get; } = new RotationalStiffness(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalStiffness
///
- public static RotationalStiffness MinValue => new RotationalStiffness(double.MinValue, BaseUnit);
+ public static RotationalStiffness MinValue { get; } = new RotationalStiffness(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalStiffness;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalStiffness;
///
/// All units of measurement for the RotationalStiffness quantity.
@@ -117,7 +117,7 @@ public RotationalStiffness(double numericValue, RotationalStiffnessUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonMeterPerRadian.
///
- public static RotationalStiffness Zero => new RotationalStiffness(0, BaseUnit);
+ public static RotationalStiffness Zero { get; } = new RotationalStiffness(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.NetFramework.g.cs
index 7c0d807bcc..ff246b845e 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.NetFramework.g.cs
@@ -92,22 +92,22 @@ public RotationalStiffnessPerLength(double numericValue, RotationalStiffnessPerL
///
/// The base unit of RotationalStiffnessPerLength, which is NewtonMeterPerRadianPerMeter. All conversions go via this value.
///
- public static RotationalStiffnessPerLengthUnit BaseUnit => RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter;
+ public static RotationalStiffnessPerLengthUnit BaseUnit { get; } = RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter;
///
/// Represents the largest possible value of RotationalStiffnessPerLength
///
- public static RotationalStiffnessPerLength MaxValue => new RotationalStiffnessPerLength(double.MaxValue, BaseUnit);
+ public static RotationalStiffnessPerLength MaxValue { get; } = new RotationalStiffnessPerLength(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of RotationalStiffnessPerLength
///
- public static RotationalStiffnessPerLength MinValue => new RotationalStiffnessPerLength(double.MinValue, BaseUnit);
+ public static RotationalStiffnessPerLength MinValue { get; } = new RotationalStiffnessPerLength(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.RotationalStiffnessPerLength;
+ public static QuantityType QuantityType { get; } = QuantityType.RotationalStiffnessPerLength;
///
/// All units of measurement for the RotationalStiffnessPerLength quantity.
@@ -117,7 +117,7 @@ public RotationalStiffnessPerLength(double numericValue, RotationalStiffnessPerL
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonMeterPerRadianPerMeter.
///
- public static RotationalStiffnessPerLength Zero => new RotationalStiffnessPerLength(0, BaseUnit);
+ public static RotationalStiffnessPerLength Zero { get; } = new RotationalStiffnessPerLength(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/SolidAngle.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/SolidAngle.NetFramework.g.cs
index d8f03d8b08..0c2249eac2 100644
--- a/UnitsNet/GeneratedCode/Quantities/SolidAngle.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SolidAngle.NetFramework.g.cs
@@ -95,22 +95,22 @@ public SolidAngle(double numericValue, SolidAngleUnit unit)
///
/// The base unit of SolidAngle, which is Steradian. All conversions go via this value.
///
- public static SolidAngleUnit BaseUnit => SolidAngleUnit.Steradian;
+ public static SolidAngleUnit BaseUnit { get; } = SolidAngleUnit.Steradian;
///
/// Represents the largest possible value of SolidAngle
///
- public static SolidAngle MaxValue => new SolidAngle(double.MaxValue, BaseUnit);
+ public static SolidAngle MaxValue { get; } = new SolidAngle(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SolidAngle
///
- public static SolidAngle MinValue => new SolidAngle(double.MinValue, BaseUnit);
+ public static SolidAngle MinValue { get; } = new SolidAngle(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SolidAngle;
+ public static QuantityType QuantityType { get; } = QuantityType.SolidAngle;
///
/// All units of measurement for the SolidAngle quantity.
@@ -120,7 +120,7 @@ public SolidAngle(double numericValue, SolidAngleUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Steradian.
///
- public static SolidAngle Zero => new SolidAngle(0, BaseUnit);
+ public static SolidAngle Zero { get; } = new SolidAngle(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.NetFramework.g.cs
index 11422766f9..73bf333040 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.NetFramework.g.cs
@@ -95,22 +95,22 @@ public SpecificEnergy(double numericValue, SpecificEnergyUnit unit)
///
/// The base unit of SpecificEnergy, which is JoulePerKilogram. All conversions go via this value.
///
- public static SpecificEnergyUnit BaseUnit => SpecificEnergyUnit.JoulePerKilogram;
+ public static SpecificEnergyUnit BaseUnit { get; } = SpecificEnergyUnit.JoulePerKilogram;
///
/// Represents the largest possible value of SpecificEnergy
///
- public static SpecificEnergy MaxValue => new SpecificEnergy(double.MaxValue, BaseUnit);
+ public static SpecificEnergy MaxValue { get; } = new SpecificEnergy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificEnergy
///
- public static SpecificEnergy MinValue => new SpecificEnergy(double.MinValue, BaseUnit);
+ public static SpecificEnergy MinValue { get; } = new SpecificEnergy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificEnergy;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificEnergy;
///
/// All units of measurement for the SpecificEnergy quantity.
@@ -120,7 +120,7 @@ public SpecificEnergy(double numericValue, SpecificEnergyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerKilogram.
///
- public static SpecificEnergy Zero => new SpecificEnergy(0, BaseUnit);
+ public static SpecificEnergy Zero { get; } = new SpecificEnergy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.NetFramework.g.cs
index b91712cb2e..71da6779bb 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.NetFramework.g.cs
@@ -92,22 +92,22 @@ public SpecificEntropy(double numericValue, SpecificEntropyUnit unit)
///
/// The base unit of SpecificEntropy, which is JoulePerKilogramKelvin. All conversions go via this value.
///
- public static SpecificEntropyUnit BaseUnit => SpecificEntropyUnit.JoulePerKilogramKelvin;
+ public static SpecificEntropyUnit BaseUnit { get; } = SpecificEntropyUnit.JoulePerKilogramKelvin;
///
/// Represents the largest possible value of SpecificEntropy
///
- public static SpecificEntropy MaxValue => new SpecificEntropy(double.MaxValue, BaseUnit);
+ public static SpecificEntropy MaxValue { get; } = new SpecificEntropy(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificEntropy
///
- public static SpecificEntropy MinValue => new SpecificEntropy(double.MinValue, BaseUnit);
+ public static SpecificEntropy MinValue { get; } = new SpecificEntropy(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificEntropy;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificEntropy;
///
/// All units of measurement for the SpecificEntropy quantity.
@@ -117,7 +117,7 @@ public SpecificEntropy(double numericValue, SpecificEntropyUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit JoulePerKilogramKelvin.
///
- public static SpecificEntropy Zero => new SpecificEntropy(0, BaseUnit);
+ public static SpecificEntropy Zero { get; } = new SpecificEntropy(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.NetFramework.g.cs
index 8932433b24..fc308ee2d8 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.NetFramework.g.cs
@@ -92,22 +92,22 @@ public SpecificVolume(double numericValue, SpecificVolumeUnit unit)
///
/// The base unit of SpecificVolume, which is CubicMeterPerKilogram. All conversions go via this value.
///
- public static SpecificVolumeUnit BaseUnit => SpecificVolumeUnit.CubicMeterPerKilogram;
+ public static SpecificVolumeUnit BaseUnit { get; } = SpecificVolumeUnit.CubicMeterPerKilogram;
///
/// Represents the largest possible value of SpecificVolume
///
- public static SpecificVolume MaxValue => new SpecificVolume(double.MaxValue, BaseUnit);
+ public static SpecificVolume MaxValue { get; } = new SpecificVolume(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificVolume
///
- public static SpecificVolume MinValue => new SpecificVolume(double.MinValue, BaseUnit);
+ public static SpecificVolume MinValue { get; } = new SpecificVolume(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificVolume;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificVolume;
///
/// All units of measurement for the SpecificVolume quantity.
@@ -117,7 +117,7 @@ public SpecificVolume(double numericValue, SpecificVolumeUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit CubicMeterPerKilogram.
///
- public static SpecificVolume Zero => new SpecificVolume(0, BaseUnit);
+ public static SpecificVolume Zero { get; } = new SpecificVolume(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.NetFramework.g.cs
index ce31c9bb27..919f43f045 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.NetFramework.g.cs
@@ -95,22 +95,22 @@ public SpecificWeight(double numericValue, SpecificWeightUnit unit)
///
/// The base unit of SpecificWeight, which is NewtonPerCubicMeter. All conversions go via this value.
///
- public static SpecificWeightUnit BaseUnit => SpecificWeightUnit.NewtonPerCubicMeter;
+ public static SpecificWeightUnit BaseUnit { get; } = SpecificWeightUnit.NewtonPerCubicMeter;
///
/// Represents the largest possible value of SpecificWeight
///
- public static SpecificWeight MaxValue => new SpecificWeight(double.MaxValue, BaseUnit);
+ public static SpecificWeight MaxValue { get; } = new SpecificWeight(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of SpecificWeight
///
- public static SpecificWeight MinValue => new SpecificWeight(double.MinValue, BaseUnit);
+ public static SpecificWeight MinValue { get; } = new SpecificWeight(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.SpecificWeight;
+ public static QuantityType QuantityType { get; } = QuantityType.SpecificWeight;
///
/// All units of measurement for the SpecificWeight quantity.
@@ -120,7 +120,7 @@ public SpecificWeight(double numericValue, SpecificWeightUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonPerCubicMeter.
///
- public static SpecificWeight Zero => new SpecificWeight(0, BaseUnit);
+ public static SpecificWeight Zero { get; } = new SpecificWeight(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Speed.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Speed.NetFramework.g.cs
index a557138fe8..9a3f4a5cc2 100644
--- a/UnitsNet/GeneratedCode/Quantities/Speed.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Speed.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Speed(double numericValue, SpeedUnit unit)
///
/// The base unit of Speed, which is MeterPerSecond. All conversions go via this value.
///
- public static SpeedUnit BaseUnit => SpeedUnit.MeterPerSecond;
+ public static SpeedUnit BaseUnit { get; } = SpeedUnit.MeterPerSecond;
///
/// Represents the largest possible value of Speed
///
- public static Speed MaxValue => new Speed(double.MaxValue, BaseUnit);
+ public static Speed MaxValue { get; } = new Speed(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Speed
///
- public static Speed MinValue => new Speed(double.MinValue, BaseUnit);
+ public static Speed MinValue { get; } = new Speed(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Speed;
+ public static QuantityType QuantityType { get; } = QuantityType.Speed;
///
/// All units of measurement for the Speed quantity.
@@ -117,7 +117,7 @@ public Speed(double numericValue, SpeedUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit MeterPerSecond.
///
- public static Speed Zero => new Speed(0, BaseUnit);
+ public static Speed Zero { get; } = new Speed(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Temperature.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Temperature.NetFramework.g.cs
index 6f4ad8306c..db0438e785 100644
--- a/UnitsNet/GeneratedCode/Quantities/Temperature.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Temperature.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Temperature(double numericValue, TemperatureUnit unit)
///
/// The base unit of Temperature, which is Kelvin. All conversions go via this value.
///
- public static TemperatureUnit BaseUnit => TemperatureUnit.Kelvin;
+ public static TemperatureUnit BaseUnit { get; } = TemperatureUnit.Kelvin;
///
/// Represents the largest possible value of Temperature
///
- public static Temperature MaxValue => new Temperature(double.MaxValue, BaseUnit);
+ public static Temperature MaxValue { get; } = new Temperature(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Temperature
///
- public static Temperature MinValue => new Temperature(double.MinValue, BaseUnit);
+ public static Temperature MinValue { get; } = new Temperature(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Temperature;
+ public static QuantityType QuantityType { get; } = QuantityType.Temperature;
///
/// All units of measurement for the Temperature quantity.
@@ -117,7 +117,7 @@ public Temperature(double numericValue, TemperatureUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Kelvin.
///
- public static Temperature Zero => new Temperature(0, BaseUnit);
+ public static Temperature Zero { get; } = new Temperature(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.NetFramework.g.cs
index 40a63cb355..0a5d7ac439 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.NetFramework.g.cs
@@ -92,22 +92,22 @@ public TemperatureChangeRate(double numericValue, TemperatureChangeRateUnit unit
///
/// The base unit of TemperatureChangeRate, which is DegreeCelsiusPerSecond. All conversions go via this value.
///
- public static TemperatureChangeRateUnit BaseUnit => TemperatureChangeRateUnit.DegreeCelsiusPerSecond;
+ public static TemperatureChangeRateUnit BaseUnit { get; } = TemperatureChangeRateUnit.DegreeCelsiusPerSecond;
///
/// Represents the largest possible value of TemperatureChangeRate
///
- public static TemperatureChangeRate MaxValue => new TemperatureChangeRate(double.MaxValue, BaseUnit);
+ public static TemperatureChangeRate MaxValue { get; } = new TemperatureChangeRate(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of TemperatureChangeRate
///
- public static TemperatureChangeRate MinValue => new TemperatureChangeRate(double.MinValue, BaseUnit);
+ public static TemperatureChangeRate MinValue { get; } = new TemperatureChangeRate(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.TemperatureChangeRate;
+ public static QuantityType QuantityType { get; } = QuantityType.TemperatureChangeRate;
///
/// All units of measurement for the TemperatureChangeRate quantity.
@@ -117,7 +117,7 @@ public TemperatureChangeRate(double numericValue, TemperatureChangeRateUnit unit
///
/// Gets an instance of this quantity with a value of 0 in the base unit DegreeCelsiusPerSecond.
///
- public static TemperatureChangeRate Zero => new TemperatureChangeRate(0, BaseUnit);
+ public static TemperatureChangeRate Zero { get; } = new TemperatureChangeRate(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.NetFramework.g.cs
index b30f38b0c6..84fe4d07aa 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.NetFramework.g.cs
@@ -92,22 +92,22 @@ public TemperatureDelta(double numericValue, TemperatureDeltaUnit unit)
///
/// The base unit of TemperatureDelta, which is Kelvin. All conversions go via this value.
///
- public static TemperatureDeltaUnit BaseUnit => TemperatureDeltaUnit.Kelvin;
+ public static TemperatureDeltaUnit BaseUnit { get; } = TemperatureDeltaUnit.Kelvin;
///
/// Represents the largest possible value of TemperatureDelta
///
- public static TemperatureDelta MaxValue => new TemperatureDelta(double.MaxValue, BaseUnit);
+ public static TemperatureDelta MaxValue { get; } = new TemperatureDelta(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of TemperatureDelta
///
- public static TemperatureDelta MinValue => new TemperatureDelta(double.MinValue, BaseUnit);
+ public static TemperatureDelta MinValue { get; } = new TemperatureDelta(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.TemperatureDelta;
+ public static QuantityType QuantityType { get; } = QuantityType.TemperatureDelta;
///
/// All units of measurement for the TemperatureDelta quantity.
@@ -117,7 +117,7 @@ public TemperatureDelta(double numericValue, TemperatureDeltaUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit Kelvin.
///
- public static TemperatureDelta Zero => new TemperatureDelta(0, BaseUnit);
+ public static TemperatureDelta Zero { get; } = new TemperatureDelta(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.NetFramework.g.cs
index 77ee8a8895..a722655da4 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.NetFramework.g.cs
@@ -95,22 +95,22 @@ public ThermalConductivity(double numericValue, ThermalConductivityUnit unit)
///
/// The base unit of ThermalConductivity, which is WattPerMeterKelvin. All conversions go via this value.
///
- public static ThermalConductivityUnit BaseUnit => ThermalConductivityUnit.WattPerMeterKelvin;
+ public static ThermalConductivityUnit BaseUnit { get; } = ThermalConductivityUnit.WattPerMeterKelvin;
///
/// Represents the largest possible value of ThermalConductivity
///
- public static ThermalConductivity MaxValue => new ThermalConductivity(double.MaxValue, BaseUnit);
+ public static ThermalConductivity MaxValue { get; } = new ThermalConductivity(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ThermalConductivity
///
- public static ThermalConductivity MinValue => new ThermalConductivity(double.MinValue, BaseUnit);
+ public static ThermalConductivity MinValue { get; } = new ThermalConductivity(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ThermalConductivity;
+ public static QuantityType QuantityType { get; } = QuantityType.ThermalConductivity;
///
/// All units of measurement for the ThermalConductivity quantity.
@@ -120,7 +120,7 @@ public ThermalConductivity(double numericValue, ThermalConductivityUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit WattPerMeterKelvin.
///
- public static ThermalConductivity Zero => new ThermalConductivity(0, BaseUnit);
+ public static ThermalConductivity Zero { get; } = new ThermalConductivity(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.NetFramework.g.cs
index 1c7fd72572..d5f8841be7 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.NetFramework.g.cs
@@ -92,22 +92,22 @@ public ThermalResistance(double numericValue, ThermalResistanceUnit unit)
///
/// The base unit of ThermalResistance, which is SquareMeterKelvinPerKilowatt. All conversions go via this value.
///
- public static ThermalResistanceUnit BaseUnit => ThermalResistanceUnit.SquareMeterKelvinPerKilowatt;
+ public static ThermalResistanceUnit BaseUnit { get; } = ThermalResistanceUnit.SquareMeterKelvinPerKilowatt;
///
/// Represents the largest possible value of ThermalResistance
///
- public static ThermalResistance MaxValue => new ThermalResistance(double.MaxValue, BaseUnit);
+ public static ThermalResistance MaxValue { get; } = new ThermalResistance(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of ThermalResistance
///
- public static ThermalResistance MinValue => new ThermalResistance(double.MinValue, BaseUnit);
+ public static ThermalResistance MinValue { get; } = new ThermalResistance(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.ThermalResistance;
+ public static QuantityType QuantityType { get; } = QuantityType.ThermalResistance;
///
/// All units of measurement for the ThermalResistance quantity.
@@ -117,7 +117,7 @@ public ThermalResistance(double numericValue, ThermalResistanceUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit SquareMeterKelvinPerKilowatt.
///
- public static ThermalResistance Zero => new ThermalResistance(0, BaseUnit);
+ public static ThermalResistance Zero { get; } = new ThermalResistance(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Torque.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Torque.NetFramework.g.cs
index a73e74b5fc..322b8cad4c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Torque.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Torque.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Torque(double numericValue, TorqueUnit unit)
///
/// The base unit of Torque, which is NewtonMeter. All conversions go via this value.
///
- public static TorqueUnit BaseUnit => TorqueUnit.NewtonMeter;
+ public static TorqueUnit BaseUnit { get; } = TorqueUnit.NewtonMeter;
///
/// Represents the largest possible value of Torque
///
- public static Torque MaxValue => new Torque(double.MaxValue, BaseUnit);
+ public static Torque MaxValue { get; } = new Torque(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Torque
///
- public static Torque MinValue => new Torque(double.MinValue, BaseUnit);
+ public static Torque MinValue { get; } = new Torque(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Torque;
+ public static QuantityType QuantityType { get; } = QuantityType.Torque;
///
/// All units of measurement for the Torque quantity.
@@ -117,7 +117,7 @@ public Torque(double numericValue, TorqueUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit NewtonMeter.
///
- public static Torque Zero => new Torque(0, BaseUnit);
+ public static Torque Zero { get; } = new Torque(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/VitaminA.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/VitaminA.NetFramework.g.cs
index e27bca2e83..85a7585a8a 100644
--- a/UnitsNet/GeneratedCode/Quantities/VitaminA.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VitaminA.NetFramework.g.cs
@@ -92,22 +92,22 @@ public VitaminA(double numericValue, VitaminAUnit unit)
///
/// The base unit of VitaminA, which is InternationalUnit. All conversions go via this value.
///
- public static VitaminAUnit BaseUnit => VitaminAUnit.InternationalUnit;
+ public static VitaminAUnit BaseUnit { get; } = VitaminAUnit.InternationalUnit;
///
/// Represents the largest possible value of VitaminA
///
- public static VitaminA MaxValue => new VitaminA(double.MaxValue, BaseUnit);
+ public static VitaminA MaxValue { get; } = new VitaminA(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of VitaminA
///
- public static VitaminA MinValue => new VitaminA(double.MinValue, BaseUnit);
+ public static VitaminA MinValue { get; } = new VitaminA(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.VitaminA;
+ public static QuantityType QuantityType { get; } = QuantityType.VitaminA;
///
/// All units of measurement for the VitaminA quantity.
@@ -117,7 +117,7 @@ public VitaminA(double numericValue, VitaminAUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit InternationalUnit.
///
- public static VitaminA Zero => new VitaminA(0, BaseUnit);
+ public static VitaminA Zero { get; } = new VitaminA(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/Volume.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/Volume.NetFramework.g.cs
index d15b9e90f2..d77f36c23c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Volume.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Volume.NetFramework.g.cs
@@ -92,22 +92,22 @@ public Volume(double numericValue, VolumeUnit unit)
///
/// The base unit of Volume, which is CubicMeter. All conversions go via this value.
///
- public static VolumeUnit BaseUnit => VolumeUnit.CubicMeter;
+ public static VolumeUnit BaseUnit { get; } = VolumeUnit.CubicMeter;
///
/// Represents the largest possible value of Volume
///
- public static Volume MaxValue => new Volume(double.MaxValue, BaseUnit);
+ public static Volume MaxValue { get; } = new Volume(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of Volume
///
- public static Volume MinValue => new Volume(double.MinValue, BaseUnit);
+ public static Volume MinValue { get; } = new Volume(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.Volume;
+ public static QuantityType QuantityType { get; } = QuantityType.Volume;
///
/// All units of measurement for the Volume quantity.
@@ -117,7 +117,7 @@ public Volume(double numericValue, VolumeUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit CubicMeter.
///
- public static Volume Zero => new Volume(0, BaseUnit);
+ public static Volume Zero { get; } = new Volume(0, BaseUnit);
#endregion
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.NetFramework.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.NetFramework.g.cs
index 041a2e0166..701d37c3fc 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.NetFramework.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.NetFramework.g.cs
@@ -92,22 +92,22 @@ public VolumeFlow(double numericValue, VolumeFlowUnit unit)
///
/// The base unit of VolumeFlow, which is CubicMeterPerSecond. All conversions go via this value.
///
- public static VolumeFlowUnit BaseUnit => VolumeFlowUnit.CubicMeterPerSecond;
+ public static VolumeFlowUnit BaseUnit { get; } = VolumeFlowUnit.CubicMeterPerSecond;
///
/// Represents the largest possible value of VolumeFlow
///
- public static VolumeFlow MaxValue => new VolumeFlow(double.MaxValue, BaseUnit);
+ public static VolumeFlow MaxValue { get; } = new VolumeFlow(double.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of VolumeFlow
///
- public static VolumeFlow MinValue => new VolumeFlow(double.MinValue, BaseUnit);
+ public static VolumeFlow MinValue { get; } = new VolumeFlow(double.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.VolumeFlow;
+ public static QuantityType QuantityType { get; } = QuantityType.VolumeFlow;
///
/// All units of measurement for the VolumeFlow quantity.
@@ -117,7 +117,7 @@ public VolumeFlow(double numericValue, VolumeFlowUnit unit)
///
/// Gets an instance of this quantity with a value of 0 in the base unit CubicMeterPerSecond.
///
- public static VolumeFlow Zero => new VolumeFlow(0, BaseUnit);
+ public static VolumeFlow Zero { get; } = new VolumeFlow(0, BaseUnit);
#endregion
diff --git a/UnitsNet/Scripts/Include-GenerateQuantitySourceCodeNetFramework.ps1 b/UnitsNet/Scripts/Include-GenerateQuantitySourceCodeNetFramework.ps1
index d876ece7bb..d725bd7293 100644
--- a/UnitsNet/Scripts/Include-GenerateQuantitySourceCodeNetFramework.ps1
+++ b/UnitsNet/Scripts/Include-GenerateQuantitySourceCodeNetFramework.ps1
@@ -279,22 +279,22 @@ function GenerateStaticProperties([GeneratorArgs]$genArgs)
///
/// The base unit of $quantityName, which is $baseUnitSingularName. All conversions go via this value.
///
- public static $unitEnumName BaseUnit => $unitEnumName.$baseUnitSingularName;
+ public static $unitEnumName BaseUnit { get; } = $unitEnumName.$baseUnitSingularName;
///
/// Represents the largest possible value of $quantityName
///
- public static $quantityName MaxValue => new $quantityName($valueType.MaxValue, BaseUnit);
+ public static $quantityName MaxValue { get; } = new $quantityName($valueType.MaxValue, BaseUnit);
///
/// Represents the smallest possible value of $quantityName
///
- public static $quantityName MinValue => new $quantityName($valueType.MinValue, BaseUnit);
+ public static $quantityName MinValue { get; } = new $quantityName($valueType.MinValue, BaseUnit);
///
/// The of this quantity.
///
- public static QuantityType QuantityType => QuantityType.$quantityName;
+ public static QuantityType QuantityType { get; } = QuantityType.$quantityName;
///
/// All units of measurement for the $quantityName quantity.
@@ -304,7 +304,7 @@ function GenerateStaticProperties([GeneratorArgs]$genArgs)
///
/// Gets an instance of this quantity with a value of 0 in the base unit $baseUnitSingularName.
///
- public static $quantityName Zero => new $quantityName(0, BaseUnit);
+ public static $quantityName Zero { get; } = new $quantityName(0, BaseUnit);
#endregion
"@;