diff --git a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs index 2f3ebcf6c4..ce4a8fbd3c 100644 --- a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs +++ b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs @@ -233,11 +233,13 @@ private void GenerateStaticProperties() /// /// Represents the largest possible value of {_quantity.Name} /// + [Obsolete(""MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848."")] public static {_quantity.Name} MaxValue {{ get; }} = new {_quantity.Name}({_valueType}.MaxValue, BaseUnit); /// /// Represents the smallest possible value of {_quantity.Name} /// + [Obsolete(""MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848."")] public static {_quantity.Name} MinValue {{ get; }} = new {_quantity.Name}({_valueType}.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs index f40bd32c21..794b01453c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs @@ -122,11 +122,13 @@ public Acceleration(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Acceleration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Acceleration MaxValue { get; } = new Acceleration(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Acceleration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Acceleration MinValue { get; } = new Acceleration(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs index 969ee4af11..56ac16cebd 100644 --- a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs @@ -123,11 +123,13 @@ public AmountOfSubstance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of AmountOfSubstance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AmountOfSubstance MaxValue { get; } = new AmountOfSubstance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of AmountOfSubstance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AmountOfSubstance MinValue { get; } = new AmountOfSubstance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs index 315b035405..ace10056ef 100644 --- a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs @@ -112,11 +112,13 @@ public AmplitudeRatio(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of AmplitudeRatio /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AmplitudeRatio MaxValue { get; } = new AmplitudeRatio(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of AmplitudeRatio /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AmplitudeRatio MinValue { get; } = new AmplitudeRatio(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs index f9e013df61..f2e1b65b6d 100644 --- a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs @@ -122,11 +122,13 @@ public Angle(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Angle /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Angle MaxValue { get; } = new Angle(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Angle /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Angle MinValue { get; } = new Angle(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs index 071b53dfdd..eb4cf6b251 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs @@ -111,11 +111,13 @@ public ApparentEnergy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ApparentEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ApparentEnergy MaxValue { get; } = new ApparentEnergy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ApparentEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ApparentEnergy MinValue { get; } = new ApparentEnergy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs index 62da56ef09..5d6d6bee4c 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs @@ -112,11 +112,13 @@ public ApparentPower(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ApparentPower /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ApparentPower MaxValue { get; } = new ApparentPower(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ApparentPower /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ApparentPower MinValue { get; } = new ApparentPower(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Area.g.cs b/UnitsNet/GeneratedCode/Quantities/Area.g.cs index 3c08afb818..8113942d5a 100644 --- a/UnitsNet/GeneratedCode/Quantities/Area.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Area.g.cs @@ -122,11 +122,13 @@ public Area(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Area /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Area MaxValue { get; } = new Area(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Area /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Area MinValue { get; } = new Area(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs index 3dbdd60bd5..002ece88a8 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs @@ -109,11 +109,13 @@ public AreaDensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of AreaDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AreaDensity MaxValue { get; } = new AreaDensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of AreaDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AreaDensity MinValue { get; } = new AreaDensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs index 72a6da6a62..316bcd577e 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs @@ -114,11 +114,13 @@ public AreaMomentOfInertia(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of AreaMomentOfInertia /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AreaMomentOfInertia MaxValue { get; } = new AreaMomentOfInertia(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of AreaMomentOfInertia /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static AreaMomentOfInertia MinValue { get; } = new AreaMomentOfInertia(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs index e61dacd524..f91bd2193a 100644 --- a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs @@ -137,11 +137,13 @@ public BitRate(decimal value, UnitSystem unitSystem) /// /// Represents the largest possible value of BitRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static BitRate MaxValue { get; } = new BitRate(decimal.MaxValue, BaseUnit); /// /// Represents the smallest possible value of BitRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static BitRate MinValue { get; } = new BitRate(decimal.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs index 6716f2a13a..5d6d27e859 100644 --- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs @@ -111,11 +111,13 @@ public BrakeSpecificFuelConsumption(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of BrakeSpecificFuelConsumption /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static BrakeSpecificFuelConsumption MaxValue { get; } = new BrakeSpecificFuelConsumption(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of BrakeSpecificFuelConsumption /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static BrakeSpecificFuelConsumption MinValue { get; } = new BrakeSpecificFuelConsumption(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs index fc51d0b5d2..94e0d6a4e2 100644 --- a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs @@ -118,11 +118,13 @@ public Capacitance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Capacitance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Capacitance MaxValue { get; } = new Capacitance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Capacitance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Capacitance MinValue { get; } = new Capacitance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs index 75be9432c4..e088a1f193 100644 --- a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs @@ -111,11 +111,13 @@ public CoefficientOfThermalExpansion(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of CoefficientOfThermalExpansion /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static CoefficientOfThermalExpansion MaxValue { get; } = new CoefficientOfThermalExpansion(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of CoefficientOfThermalExpansion /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static CoefficientOfThermalExpansion MinValue { get; } = new CoefficientOfThermalExpansion(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Density.g.cs b/UnitsNet/GeneratedCode/Quantities/Density.g.cs index 084fec6488..22d9dc88ee 100644 --- a/UnitsNet/GeneratedCode/Quantities/Density.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Density.g.cs @@ -151,11 +151,13 @@ public Density(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Density /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Density MaxValue { get; } = new Density(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Density /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Density MinValue { get; } = new Density(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs index 29c660ed75..e0e19aea22 100644 --- a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs @@ -118,11 +118,13 @@ public Duration(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Duration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Duration MaxValue { get; } = new Duration(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Duration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Duration MinValue { get; } = new Duration(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs index e453ddcee5..0da85f1f91 100644 --- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs @@ -121,11 +121,13 @@ public DynamicViscosity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of DynamicViscosity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static DynamicViscosity MaxValue { get; } = new DynamicViscosity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of DynamicViscosity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static DynamicViscosity MinValue { get; } = new DynamicViscosity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs index 7b6bfb3e45..310c2c63bb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs @@ -112,11 +112,13 @@ public ElectricAdmittance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricAdmittance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricAdmittance MaxValue { get; } = new ElectricAdmittance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricAdmittance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricAdmittance MinValue { get; } = new ElectricAdmittance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs index 2110cc871a..6386e9dce8 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs @@ -116,11 +116,13 @@ public ElectricCharge(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricCharge /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCharge MaxValue { get; } = new ElectricCharge(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricCharge /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCharge MinValue { get; } = new ElectricCharge(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs index b8b5a8262c..1dfa7fe9b7 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs @@ -112,11 +112,13 @@ public ElectricChargeDensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricChargeDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricChargeDensity MaxValue { get; } = new ElectricChargeDensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricChargeDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricChargeDensity MinValue { get; } = new ElectricChargeDensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs index d194b12478..82ed69c516 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs @@ -114,11 +114,13 @@ public ElectricConductance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricConductance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricConductance MaxValue { get; } = new ElectricConductance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricConductance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricConductance MinValue { get; } = new ElectricConductance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs index b2c2a9c1c6..f3e5b7fc38 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs @@ -114,11 +114,13 @@ public ElectricConductivity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricConductivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricConductivity MaxValue { get; } = new ElectricConductivity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricConductivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricConductivity MinValue { get; } = new ElectricConductivity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs index a138e6df9a..a77b76ff99 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs @@ -116,11 +116,13 @@ public ElectricCurrent(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricCurrent /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCurrent MaxValue { get; } = new ElectricCurrent(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricCurrent /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCurrent MinValue { get; } = new ElectricCurrent(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs index ad6a6bdee0..9d8065a5c2 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs @@ -114,11 +114,13 @@ public ElectricCurrentDensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricCurrentDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCurrentDensity MaxValue { get; } = new ElectricCurrentDensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricCurrentDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCurrentDensity MinValue { get; } = new ElectricCurrentDensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs index e7ee8be7ec..58e7b53795 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs @@ -112,11 +112,13 @@ public ElectricCurrentGradient(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricCurrentGradient /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCurrentGradient MaxValue { get; } = new ElectricCurrentGradient(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricCurrentGradient /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricCurrentGradient MinValue { get; } = new ElectricCurrentGradient(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs index 6c96205931..3992791661 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs @@ -112,11 +112,13 @@ public ElectricField(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricField /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricField MaxValue { get; } = new ElectricField(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricField /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricField MinValue { get; } = new ElectricField(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs index 274c01939a..4b44039b88 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs @@ -115,11 +115,13 @@ public ElectricInductance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricInductance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricInductance MaxValue { get; } = new ElectricInductance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricInductance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricInductance MinValue { get; } = new ElectricInductance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs index 3e55a9d60a..d5dfa8dccb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs @@ -113,11 +113,13 @@ public ElectricPotential(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricPotential /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotential MaxValue { get; } = new ElectricPotential(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricPotential /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotential MinValue { get; } = new ElectricPotential(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs index e01e0f06c9..739a51dc4d 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs @@ -113,11 +113,13 @@ public ElectricPotentialAc(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricPotentialAc /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotentialAc MaxValue { get; } = new ElectricPotentialAc(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricPotentialAc /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotentialAc MinValue { get; } = new ElectricPotentialAc(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs index d69a040bf5..c8109f7112 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs @@ -128,11 +128,13 @@ public ElectricPotentialChangeRate(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricPotentialChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotentialChangeRate MaxValue { get; } = new ElectricPotentialChangeRate(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricPotentialChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotentialChangeRate MinValue { get; } = new ElectricPotentialChangeRate(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs index 998adeb224..031b3374d3 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs @@ -113,11 +113,13 @@ public ElectricPotentialDc(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricPotentialDc /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotentialDc MaxValue { get; } = new ElectricPotentialDc(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricPotentialDc /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricPotentialDc MinValue { get; } = new ElectricPotentialDc(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs index 3f7b425639..7776ff92f5 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs @@ -114,11 +114,13 @@ public ElectricResistance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricResistance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricResistance MaxValue { get; } = new ElectricResistance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricResistance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricResistance MinValue { get; } = new ElectricResistance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs index 56726eaeaf..9eb0c8f731 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs @@ -125,11 +125,13 @@ public ElectricResistivity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricResistivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricResistivity MaxValue { get; } = new ElectricResistivity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricResistivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricResistivity MinValue { get; } = new ElectricResistivity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs index 4e3b431a64..71e7bfe44b 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs @@ -114,11 +114,13 @@ public ElectricSurfaceChargeDensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ElectricSurfaceChargeDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricSurfaceChargeDensity MaxValue { get; } = new ElectricSurfaceChargeDensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ElectricSurfaceChargeDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ElectricSurfaceChargeDensity MinValue { get; } = new ElectricSurfaceChargeDensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs index 6e9e2d05f8..d8b671bff0 100644 --- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs @@ -144,11 +144,13 @@ public Energy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Energy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Energy MaxValue { get; } = new Energy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Energy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Energy MinValue { get; } = new Energy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs index 11da711023..cdbdbb3b00 100644 --- a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs @@ -115,11 +115,13 @@ public Entropy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Entropy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Entropy MaxValue { get; } = new Entropy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Entropy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Entropy MinValue { get; } = new Entropy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Force.g.cs b/UnitsNet/GeneratedCode/Quantities/Force.g.cs index 78c58aff20..336c8764de 100644 --- a/UnitsNet/GeneratedCode/Quantities/Force.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Force.g.cs @@ -123,11 +123,13 @@ public Force(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Force /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Force MaxValue { get; } = new Force(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Force /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Force MinValue { get; } = new Force(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs index a43247ae43..c2ceb1cd53 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs @@ -119,11 +119,13 @@ public ForceChangeRate(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ForceChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ForceChangeRate MaxValue { get; } = new ForceChangeRate(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ForceChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ForceChangeRate MinValue { get; } = new ForceChangeRate(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs index 301c8bcc28..eb88079dd5 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs @@ -146,11 +146,13 @@ public ForcePerLength(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ForcePerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ForcePerLength MaxValue { get; } = new ForcePerLength(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ForcePerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ForcePerLength MinValue { get; } = new ForcePerLength(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs index a93b883e77..fab9a3d36c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs @@ -118,11 +118,13 @@ public Frequency(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Frequency /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Frequency MaxValue { get; } = new Frequency(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Frequency /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Frequency MinValue { get; } = new Frequency(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs index 509c0ed70b..de2c76245c 100644 --- a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs @@ -115,11 +115,13 @@ public FuelEfficiency(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of FuelEfficiency /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static FuelEfficiency MaxValue { get; } = new FuelEfficiency(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of FuelEfficiency /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static FuelEfficiency MinValue { get; } = new FuelEfficiency(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs index 0b8bca97b9..8fe5213ce9 100644 --- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs @@ -126,11 +126,13 @@ public HeatFlux(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of HeatFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static HeatFlux MaxValue { get; } = new HeatFlux(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of HeatFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static HeatFlux MinValue { get; } = new HeatFlux(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs index fab206d466..9f97273d26 100644 --- a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs @@ -111,11 +111,13 @@ public HeatTransferCoefficient(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of HeatTransferCoefficient /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static HeatTransferCoefficient MaxValue { get; } = new HeatTransferCoefficient(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of HeatTransferCoefficient /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static HeatTransferCoefficient MinValue { get; } = new HeatTransferCoefficient(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs index ef3e205cfd..fa6d9d1dc3 100644 --- a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs @@ -115,11 +115,13 @@ public Illuminance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Illuminance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Illuminance MaxValue { get; } = new Illuminance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Illuminance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Illuminance MinValue { get; } = new Illuminance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Information.g.cs b/UnitsNet/GeneratedCode/Quantities/Information.g.cs index b94d6a26be..cdec9ab8bd 100644 --- a/UnitsNet/GeneratedCode/Quantities/Information.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Information.g.cs @@ -134,11 +134,13 @@ public Information(decimal value, UnitSystem unitSystem) /// /// Represents the largest possible value of Information /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Information MaxValue { get; } = new Information(decimal.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Information /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Information MinValue { get; } = new Information(decimal.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs index 243e700262..13292d79d4 100644 --- a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs @@ -122,11 +122,13 @@ public Irradiance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Irradiance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Irradiance MaxValue { get; } = new Irradiance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Irradiance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Irradiance MinValue { get; } = new Irradiance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs index 2579a542fc..476494d01c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs @@ -118,11 +118,13 @@ public Irradiation(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Irradiation /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Irradiation MaxValue { get; } = new Irradiation(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Irradiation /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Irradiation MinValue { get; } = new Irradiation(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs index 98764911b2..201f1c1d39 100644 --- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs @@ -119,11 +119,13 @@ public KinematicViscosity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of KinematicViscosity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static KinematicViscosity MaxValue { get; } = new KinematicViscosity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of KinematicViscosity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static KinematicViscosity MinValue { get; } = new KinematicViscosity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs b/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs index 632fa67ce5..394b6e0ced 100644 --- a/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs @@ -109,11 +109,13 @@ public LapseRate(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of LapseRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LapseRate MaxValue { get; } = new LapseRate(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of LapseRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LapseRate MinValue { get; } = new LapseRate(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Length.g.cs b/UnitsNet/GeneratedCode/Quantities/Length.g.cs index d6e2f06466..c1d8e77356 100644 --- a/UnitsNet/GeneratedCode/Quantities/Length.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Length.g.cs @@ -141,11 +141,13 @@ public Length(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Length /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Length MaxValue { get; } = new Length(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Length /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Length MinValue { get; } = new Length(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Level.g.cs b/UnitsNet/GeneratedCode/Quantities/Level.g.cs index eca5f6df74..5d9a7aba44 100644 --- a/UnitsNet/GeneratedCode/Quantities/Level.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Level.g.cs @@ -110,11 +110,13 @@ public Level(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Level /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Level MaxValue { get; } = new Level(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Level /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Level MinValue { get; } = new Level(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs index 2c12d61a3d..e8b4d1d569 100644 --- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs @@ -125,11 +125,13 @@ public LinearDensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of LinearDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LinearDensity MaxValue { get; } = new LinearDensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of LinearDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LinearDensity MinValue { get; } = new LinearDensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs index bcc7904b7f..f87796b9c5 100644 --- a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs @@ -136,11 +136,13 @@ public LinearPowerDensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of LinearPowerDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LinearPowerDensity MaxValue { get; } = new LinearPowerDensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of LinearPowerDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LinearPowerDensity MinValue { get; } = new LinearPowerDensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs index c4475ff4b2..8f05e044bf 100644 --- a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs @@ -125,11 +125,13 @@ public Luminosity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Luminosity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Luminosity MaxValue { get; } = new Luminosity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Luminosity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Luminosity MinValue { get; } = new Luminosity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs index 5cabf81677..f69952bdb1 100644 --- a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs @@ -112,11 +112,13 @@ public LuminousFlux(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of LuminousFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LuminousFlux MaxValue { get; } = new LuminousFlux(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of LuminousFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LuminousFlux MinValue { get; } = new LuminousFlux(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs index f6beb642b7..d7bd04cfec 100644 --- a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs @@ -112,11 +112,13 @@ public LuminousIntensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of LuminousIntensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LuminousIntensity MaxValue { get; } = new LuminousIntensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of LuminousIntensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static LuminousIntensity MinValue { get; } = new LuminousIntensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs index b124240e24..c9fae20d5b 100644 --- a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs @@ -116,11 +116,13 @@ public MagneticField(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MagneticField /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MagneticField MaxValue { get; } = new MagneticField(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MagneticField /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MagneticField MinValue { get; } = new MagneticField(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs index 2fc322f19f..4dce7404e7 100644 --- a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs @@ -112,11 +112,13 @@ public MagneticFlux(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MagneticFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MagneticFlux MaxValue { get; } = new MagneticFlux(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MagneticFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MagneticFlux MinValue { get; } = new MagneticFlux(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs index 1fede64248..d209fb3593 100644 --- a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs @@ -112,11 +112,13 @@ public Magnetization(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Magnetization /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Magnetization MaxValue { get; } = new Magnetization(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Magnetization /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Magnetization MinValue { get; } = new Magnetization(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs index 9056e68f35..e00071d40d 100644 --- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs @@ -133,11 +133,13 @@ public Mass(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Mass /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Mass MaxValue { get; } = new Mass(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Mass /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Mass MinValue { get; } = new Mass(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs index 0118358461..229d963c06 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs @@ -158,11 +158,13 @@ public MassConcentration(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MassConcentration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassConcentration MaxValue { get; } = new MassConcentration(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MassConcentration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassConcentration MinValue { get; } = new MassConcentration(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs index 3a0c7a7000..12b400f6f6 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs @@ -141,11 +141,13 @@ public MassFlow(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MassFlow /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassFlow MaxValue { get; } = new MassFlow(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MassFlow /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassFlow MinValue { get; } = new MassFlow(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs index 9bacd882cd..768a8d9928 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs @@ -120,11 +120,13 @@ public MassFlux(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MassFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassFlux MaxValue { get; } = new MassFlux(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MassFlux /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassFlux MinValue { get; } = new MassFlux(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs index 7ff1a97651..621076e95c 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs @@ -135,11 +135,13 @@ public MassFraction(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MassFraction /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassFraction MaxValue { get; } = new MassFraction(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MassFraction /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassFraction MinValue { get; } = new MassFraction(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs index 39483d0c8d..78638e6177 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs @@ -136,11 +136,13 @@ public MassMomentOfInertia(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MassMomentOfInertia /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassMomentOfInertia MaxValue { get; } = new MassMomentOfInertia(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MassMomentOfInertia /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MassMomentOfInertia MinValue { get; } = new MassMomentOfInertia(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs index ec166846fc..9af01f0b80 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs @@ -111,11 +111,13 @@ public MolarEnergy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MolarEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MolarEnergy MaxValue { get; } = new MolarEnergy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MolarEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MolarEnergy MinValue { get; } = new MolarEnergy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs index 3e9837ddcc..03b2ff23c3 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs @@ -111,11 +111,13 @@ public MolarEntropy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MolarEntropy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MolarEntropy MaxValue { get; } = new MolarEntropy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MolarEntropy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MolarEntropy MinValue { get; } = new MolarEntropy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs index 92fb698145..fd737b916c 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs @@ -120,11 +120,13 @@ public MolarMass(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of MolarMass /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MolarMass MaxValue { get; } = new MolarMass(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of MolarMass /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static MolarMass MinValue { get; } = new MolarMass(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs index eae1098573..957a2015aa 100644 --- a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs @@ -119,11 +119,13 @@ public Molarity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Molarity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Molarity MaxValue { get; } = new Molarity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Molarity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Molarity MinValue { get; } = new Molarity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs index b08c1634b4..98d1757152 100644 --- a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs @@ -112,11 +112,13 @@ public Permeability(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Permeability /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Permeability MaxValue { get; } = new Permeability(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Permeability /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Permeability MinValue { get; } = new Permeability(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs index a9d0f53581..e7495b14be 100644 --- a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs @@ -112,11 +112,13 @@ public Permittivity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Permittivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Permittivity MaxValue { get; } = new Permittivity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Permittivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Permittivity MinValue { get; } = new Permittivity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Power.g.cs b/UnitsNet/GeneratedCode/Quantities/Power.g.cs index 4919698454..079fbd8245 100644 --- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Power.g.cs @@ -133,11 +133,13 @@ public Power(decimal value, UnitSystem unitSystem) /// /// Represents the largest possible value of Power /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Power MaxValue { get; } = new Power(decimal.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Power /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Power MinValue { get; } = new Power(decimal.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs index 55350574ad..98d22665ce 100644 --- a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs @@ -152,11 +152,13 @@ public PowerDensity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of PowerDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static PowerDensity MaxValue { get; } = new PowerDensity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of PowerDensity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static PowerDensity MinValue { get; } = new PowerDensity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs index 4bea934a26..64bc8cd44d 100644 --- a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs @@ -110,11 +110,13 @@ public PowerRatio(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of PowerRatio /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static PowerRatio MaxValue { get; } = new PowerRatio(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of PowerRatio /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static PowerRatio MinValue { get; } = new PowerRatio(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs index f0d45f6af0..31dddf1012 100644 --- a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs @@ -150,11 +150,13 @@ public Pressure(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Pressure /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Pressure MaxValue { get; } = new Pressure(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Pressure /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Pressure MinValue { get; } = new Pressure(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs index f1799435f5..5d1a27c702 100644 --- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs @@ -115,11 +115,13 @@ public PressureChangeRate(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of PressureChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static PressureChangeRate MaxValue { get; } = new PressureChangeRate(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of PressureChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static PressureChangeRate MinValue { get; } = new PressureChangeRate(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs index 35c8207aea..5c72a590a9 100644 --- a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs @@ -114,11 +114,13 @@ public Ratio(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Ratio /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Ratio MaxValue { get; } = new Ratio(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Ratio /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Ratio MinValue { get; } = new Ratio(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs index 1d59dd8aee..bf7cdb8333 100644 --- a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs @@ -110,11 +110,13 @@ public RatioChangeRate(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of RatioChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RatioChangeRate MaxValue { get; } = new RatioChangeRate(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of RatioChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RatioChangeRate MinValue { get; } = new RatioChangeRate(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs index 9b5e7b1001..f3614cfd3c 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs @@ -111,11 +111,13 @@ public ReactiveEnergy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ReactiveEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ReactiveEnergy MaxValue { get; } = new ReactiveEnergy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ReactiveEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ReactiveEnergy MinValue { get; } = new ReactiveEnergy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs index 801781f198..b541e2795b 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs @@ -112,11 +112,13 @@ public ReactivePower(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ReactivePower /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ReactivePower MaxValue { get; } = new ReactivePower(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ReactivePower /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ReactivePower MinValue { get; } = new ReactivePower(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs index ff5f946ed7..1b158598d1 100644 --- a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs @@ -109,11 +109,13 @@ public RelativeHumidity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of RelativeHumidity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RelativeHumidity MaxValue { get; } = new RelativeHumidity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of RelativeHumidity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RelativeHumidity MinValue { get; } = new RelativeHumidity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs index dc18da238f..b36c731d29 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs @@ -112,11 +112,13 @@ public RotationalAcceleration(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of RotationalAcceleration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalAcceleration MaxValue { get; } = new RotationalAcceleration(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of RotationalAcceleration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalAcceleration MinValue { get; } = new RotationalAcceleration(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs index b0c98ccbbd..3080b8d6e4 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs @@ -121,11 +121,13 @@ public RotationalSpeed(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of RotationalSpeed /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalSpeed MaxValue { get; } = new RotationalSpeed(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of RotationalSpeed /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalSpeed MinValue { get; } = new RotationalSpeed(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs index d8facb68b2..7850818355 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs @@ -141,11 +141,13 @@ public RotationalStiffness(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of RotationalStiffness /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalStiffness MaxValue { get; } = new RotationalStiffness(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of RotationalStiffness /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalStiffness MinValue { get; } = new RotationalStiffness(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs index 2fcf8b0a76..32c878cd22 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs @@ -113,11 +113,13 @@ public RotationalStiffnessPerLength(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of RotationalStiffnessPerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalStiffnessPerLength MaxValue { get; } = new RotationalStiffnessPerLength(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of RotationalStiffnessPerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static RotationalStiffnessPerLength MinValue { get; } = new RotationalStiffnessPerLength(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs index 6146e2814c..085b552023 100644 --- a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs @@ -112,11 +112,13 @@ public SolidAngle(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of SolidAngle /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SolidAngle MaxValue { get; } = new SolidAngle(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of SolidAngle /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SolidAngle MinValue { get; } = new SolidAngle(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs index c48f405406..a705b221ab 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs @@ -136,11 +136,13 @@ public SpecificEnergy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of SpecificEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificEnergy MaxValue { get; } = new SpecificEnergy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of SpecificEnergy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificEnergy MinValue { get; } = new SpecificEnergy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs index 446b443485..c0614499e4 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs @@ -117,11 +117,13 @@ public SpecificEntropy(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of SpecificEntropy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificEntropy MaxValue { get; } = new SpecificEntropy(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of SpecificEntropy /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificEntropy MinValue { get; } = new SpecificEntropy(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs index 759a634e8c..1b7838470d 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs @@ -111,11 +111,13 @@ public SpecificVolume(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of SpecificVolume /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificVolume MaxValue { get; } = new SpecificVolume(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of SpecificVolume /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificVolume MinValue { get; } = new SpecificVolume(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs index 5d5e5ed153..862974e683 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs @@ -128,11 +128,13 @@ public SpecificWeight(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of SpecificWeight /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificWeight MaxValue { get; } = new SpecificWeight(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of SpecificWeight /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static SpecificWeight MinValue { get; } = new SpecificWeight(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs index f8c93c4ed9..444bfd638c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs @@ -140,11 +140,13 @@ public Speed(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Speed /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Speed MaxValue { get; } = new Speed(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Speed /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Speed MinValue { get; } = new Speed(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs index 1eff9c3275..6010cf8e5e 100644 --- a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs @@ -118,11 +118,13 @@ public Temperature(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Temperature /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Temperature MaxValue { get; } = new Temperature(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Temperature /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Temperature MinValue { get; } = new Temperature(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs index cd276f47a8..07e52ff9b0 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs @@ -118,11 +118,13 @@ public TemperatureChangeRate(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of TemperatureChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static TemperatureChangeRate MaxValue { get; } = new TemperatureChangeRate(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of TemperatureChangeRate /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static TemperatureChangeRate MinValue { get; } = new TemperatureChangeRate(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs index af3d547f75..6ed5e616da 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs @@ -117,11 +117,13 @@ public TemperatureDelta(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of TemperatureDelta /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static TemperatureDelta MaxValue { get; } = new TemperatureDelta(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of TemperatureDelta /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static TemperatureDelta MinValue { get; } = new TemperatureDelta(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs index ed9855f86d..40fd52687d 100644 --- a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs @@ -113,11 +113,13 @@ public ThermalConductivity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ThermalConductivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ThermalConductivity MaxValue { get; } = new ThermalConductivity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ThermalConductivity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ThermalConductivity MinValue { get; } = new ThermalConductivity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs index f52cc28ff4..194a6c38eb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs @@ -113,11 +113,13 @@ public ThermalResistance(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of ThermalResistance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ThermalResistance MaxValue { get; } = new ThermalResistance(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of ThermalResistance /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static ThermalResistance MinValue { get; } = new ThermalResistance(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs index 66891854ab..18943f5203 100644 --- a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs @@ -130,11 +130,13 @@ public Torque(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Torque /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Torque MaxValue { get; } = new Torque(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Torque /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Torque MinValue { get; } = new Torque(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs index 5f86782332..eea1307611 100644 --- a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs @@ -129,11 +129,13 @@ public TorquePerLength(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of TorquePerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static TorquePerLength MaxValue { get; } = new TorquePerLength(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of TorquePerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static TorquePerLength MinValue { get; } = new TorquePerLength(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs index 880162dbfb..5f690b9ba1 100644 --- a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs @@ -112,11 +112,13 @@ public Turbidity(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Turbidity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Turbidity MaxValue { get; } = new Turbidity(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Turbidity /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Turbidity MinValue { get; } = new Turbidity(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs index 38fc44918a..bc8fbb4e67 100644 --- a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs @@ -109,11 +109,13 @@ public VitaminA(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of VitaminA /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VitaminA MaxValue { get; } = new VitaminA(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of VitaminA /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VitaminA MinValue { get; } = new VitaminA(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs index f3f25c646f..fccfc48d54 100644 --- a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs @@ -159,11 +159,13 @@ public Volume(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of Volume /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Volume MaxValue { get; } = new Volume(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of Volume /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static Volume MinValue { get; } = new Volume(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs index 482aca1587..1c1d0b4650 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs @@ -131,11 +131,13 @@ public VolumeConcentration(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of VolumeConcentration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VolumeConcentration MaxValue { get; } = new VolumeConcentration(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of VolumeConcentration /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VolumeConcentration MinValue { get; } = new VolumeConcentration(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs index a07744f116..c1b80c3f9a 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs @@ -164,11 +164,13 @@ public VolumeFlow(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of VolumeFlow /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VolumeFlow MaxValue { get; } = new VolumeFlow(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of VolumeFlow /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VolumeFlow MinValue { get; } = new VolumeFlow(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs index b59c91d8bd..1362d4f9ed 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs @@ -115,11 +115,13 @@ public VolumePerLength(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of VolumePerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VolumePerLength MaxValue { get; } = new VolumePerLength(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of VolumePerLength /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static VolumePerLength MinValue { get; } = new VolumePerLength(double.MinValue, BaseUnit); /// diff --git a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs index 3f2ec630e1..daa5651cd7 100644 --- a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs @@ -114,11 +114,13 @@ public WarpingMomentOfInertia(double value, UnitSystem unitSystem) /// /// Represents the largest possible value of WarpingMomentOfInertia /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static WarpingMomentOfInertia MaxValue { get; } = new WarpingMomentOfInertia(double.MaxValue, BaseUnit); /// /// Represents the smallest possible value of WarpingMomentOfInertia /// + [Obsolete("MaxValue and MinValue will be removed. Choose your own value or use nullability for unbounded lower/upper range checks. See discussion in https://github.com/angularsen/UnitsNet/issues/848.")] public static WarpingMomentOfInertia MinValue { get; } = new WarpingMomentOfInertia(double.MinValue, BaseUnit); ///