From 28854ddf7aabacc174596ea643d01937774549bf Mon Sep 17 00:00:00 2001 From: Andreas Gullberg Larsen Date: Wed, 30 Dec 2020 01:48:07 +0100 Subject: [PATCH 1/2] Deprecate MaxValue, MinValue --- CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Angle.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Area.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/BitRate.g.cs | 2 ++ .../GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs | 2 ++ .../GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Density.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Duration.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs | 2 ++ .../GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs | 2 ++ .../GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Energy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Entropy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Force.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Frequency.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Information.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Length.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Level.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Mass.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Molarity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Permeability.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Power.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Pressure.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Ratio.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs | 2 ++ .../GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Speed.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Temperature.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Torque.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/Volume.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs | 2 ++ UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs | 2 ++ 105 files changed, 210 insertions(+) diff --git a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs index 2f3ebcf6c4..863c003584 100644 --- a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs +++ b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs @@ -230,11 +230,13 @@ private void GenerateStaticProperties() /// public static {_unitEnumName} BaseUnit {{ get; }} = {_unitEnumName}.{_quantity.BaseUnit}; + [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."")] /// /// Represents the largest possible value of {_quantity.Name} /// public static {_quantity.Name} MaxValue {{ get; }} = new {_quantity.Name}({_valueType}.MaxValue, BaseUnit); + [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."")] /// /// Represents the smallest possible value of {_quantity.Name} /// diff --git a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs index f40bd32c21..b3cecc3360 100644 --- a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs @@ -119,11 +119,13 @@ public Acceleration(double value, UnitSystem unitSystem) /// public static AccelerationUnit BaseUnit { get; } = AccelerationUnit.MeterPerSecondSquared; + [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.")] /// /// Represents the largest possible value of Acceleration /// public static Acceleration MaxValue { get; } = new Acceleration(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Acceleration /// diff --git a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs index 969ee4af11..997a66c7c9 100644 --- a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs @@ -120,11 +120,13 @@ public AmountOfSubstance(double value, UnitSystem unitSystem) /// public static AmountOfSubstanceUnit BaseUnit { get; } = AmountOfSubstanceUnit.Mole; + [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.")] /// /// Represents the largest possible value of AmountOfSubstance /// public static AmountOfSubstance MaxValue { get; } = new AmountOfSubstance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of AmountOfSubstance /// diff --git a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs index 315b035405..aeaafec0d0 100644 --- a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs @@ -109,11 +109,13 @@ public AmplitudeRatio(double value, UnitSystem unitSystem) /// public static AmplitudeRatioUnit BaseUnit { get; } = AmplitudeRatioUnit.DecibelVolt; + [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.")] /// /// Represents the largest possible value of AmplitudeRatio /// public static AmplitudeRatio MaxValue { get; } = new AmplitudeRatio(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of AmplitudeRatio /// diff --git a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs index f9e013df61..2e95cd94a5 100644 --- a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs @@ -119,11 +119,13 @@ public Angle(double value, UnitSystem unitSystem) /// public static AngleUnit BaseUnit { get; } = AngleUnit.Degree; + [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.")] /// /// Represents the largest possible value of Angle /// public static Angle MaxValue { get; } = new Angle(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Angle /// diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs index 071b53dfdd..88da50bba3 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs @@ -108,11 +108,13 @@ public ApparentEnergy(double value, UnitSystem unitSystem) /// public static ApparentEnergyUnit BaseUnit { get; } = ApparentEnergyUnit.VoltampereHour; + [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.")] /// /// Represents the largest possible value of ApparentEnergy /// public static ApparentEnergy MaxValue { get; } = new ApparentEnergy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ApparentEnergy /// diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs index 62da56ef09..21f88dfbdf 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs @@ -109,11 +109,13 @@ public ApparentPower(double value, UnitSystem unitSystem) /// public static ApparentPowerUnit BaseUnit { get; } = ApparentPowerUnit.Voltampere; + [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.")] /// /// Represents the largest possible value of ApparentPower /// public static ApparentPower MaxValue { get; } = new ApparentPower(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ApparentPower /// diff --git a/UnitsNet/GeneratedCode/Quantities/Area.g.cs b/UnitsNet/GeneratedCode/Quantities/Area.g.cs index 3c08afb818..2c7ee8cfc9 100644 --- a/UnitsNet/GeneratedCode/Quantities/Area.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Area.g.cs @@ -119,11 +119,13 @@ public Area(double value, UnitSystem unitSystem) /// public static AreaUnit BaseUnit { get; } = AreaUnit.SquareMeter; + [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.")] /// /// Represents the largest possible value of Area /// public static Area MaxValue { get; } = new Area(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Area /// diff --git a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs index 3dbdd60bd5..e3bc033bef 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs @@ -106,11 +106,13 @@ public AreaDensity(double value, UnitSystem unitSystem) /// public static AreaDensityUnit BaseUnit { get; } = AreaDensityUnit.KilogramPerSquareMeter; + [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.")] /// /// Represents the largest possible value of AreaDensity /// public static AreaDensity MaxValue { get; } = new AreaDensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of AreaDensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs index 72a6da6a62..1889f942f5 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs @@ -111,11 +111,13 @@ public AreaMomentOfInertia(double value, UnitSystem unitSystem) /// public static AreaMomentOfInertiaUnit BaseUnit { get; } = AreaMomentOfInertiaUnit.MeterToTheFourth; + [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.")] /// /// Represents the largest possible value of AreaMomentOfInertia /// public static AreaMomentOfInertia MaxValue { get; } = new AreaMomentOfInertia(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of AreaMomentOfInertia /// diff --git a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs index e61dacd524..3d146d6230 100644 --- a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs @@ -134,11 +134,13 @@ public BitRate(decimal value, UnitSystem unitSystem) /// public static BitRateUnit BaseUnit { get; } = BitRateUnit.BitPerSecond; + [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.")] /// /// Represents the largest possible value of BitRate /// public static BitRate MaxValue { get; } = new BitRate(decimal.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of BitRate /// diff --git a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs index 6716f2a13a..2b27a95312 100644 --- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs @@ -108,11 +108,13 @@ public BrakeSpecificFuelConsumption(double value, UnitSystem unitSystem) /// public static BrakeSpecificFuelConsumptionUnit BaseUnit { get; } = BrakeSpecificFuelConsumptionUnit.KilogramPerJoule; + [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.")] /// /// Represents the largest possible value of BrakeSpecificFuelConsumption /// public static BrakeSpecificFuelConsumption MaxValue { get; } = new BrakeSpecificFuelConsumption(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of BrakeSpecificFuelConsumption /// diff --git a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs index fc51d0b5d2..8e68f349d4 100644 --- a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs @@ -115,11 +115,13 @@ public Capacitance(double value, UnitSystem unitSystem) /// public static CapacitanceUnit BaseUnit { get; } = CapacitanceUnit.Farad; + [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.")] /// /// Represents the largest possible value of Capacitance /// public static Capacitance MaxValue { get; } = new Capacitance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Capacitance /// diff --git a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs index 75be9432c4..1622361e1d 100644 --- a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs @@ -108,11 +108,13 @@ public CoefficientOfThermalExpansion(double value, UnitSystem unitSystem) /// public static CoefficientOfThermalExpansionUnit BaseUnit { get; } = CoefficientOfThermalExpansionUnit.InverseKelvin; + [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.")] /// /// Represents the largest possible value of CoefficientOfThermalExpansion /// public static CoefficientOfThermalExpansion MaxValue { get; } = new CoefficientOfThermalExpansion(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of CoefficientOfThermalExpansion /// diff --git a/UnitsNet/GeneratedCode/Quantities/Density.g.cs b/UnitsNet/GeneratedCode/Quantities/Density.g.cs index 084fec6488..0b7fcabf90 100644 --- a/UnitsNet/GeneratedCode/Quantities/Density.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Density.g.cs @@ -148,11 +148,13 @@ public Density(double value, UnitSystem unitSystem) /// public static DensityUnit BaseUnit { get; } = DensityUnit.KilogramPerCubicMeter; + [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.")] /// /// Represents the largest possible value of Density /// public static Density MaxValue { get; } = new Density(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Density /// diff --git a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs index 29c660ed75..8023ce2d91 100644 --- a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs @@ -115,11 +115,13 @@ public Duration(double value, UnitSystem unitSystem) /// public static DurationUnit BaseUnit { get; } = DurationUnit.Second; + [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.")] /// /// Represents the largest possible value of Duration /// public static Duration MaxValue { get; } = new Duration(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Duration /// diff --git a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs index e453ddcee5..7f2782d855 100644 --- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs @@ -118,11 +118,13 @@ public DynamicViscosity(double value, UnitSystem unitSystem) /// public static DynamicViscosityUnit BaseUnit { get; } = DynamicViscosityUnit.NewtonSecondPerMeterSquared; + [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.")] /// /// Represents the largest possible value of DynamicViscosity /// public static DynamicViscosity MaxValue { get; } = new DynamicViscosity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of DynamicViscosity /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs index 7b6bfb3e45..ea3299be30 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs @@ -109,11 +109,13 @@ public ElectricAdmittance(double value, UnitSystem unitSystem) /// public static ElectricAdmittanceUnit BaseUnit { get; } = ElectricAdmittanceUnit.Siemens; + [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.")] /// /// Represents the largest possible value of ElectricAdmittance /// public static ElectricAdmittance MaxValue { get; } = new ElectricAdmittance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricAdmittance /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs index 2110cc871a..24ce41da1f 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs @@ -113,11 +113,13 @@ public ElectricCharge(double value, UnitSystem unitSystem) /// public static ElectricChargeUnit BaseUnit { get; } = ElectricChargeUnit.Coulomb; + [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.")] /// /// Represents the largest possible value of ElectricCharge /// public static ElectricCharge MaxValue { get; } = new ElectricCharge(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricCharge /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs index b8b5a8262c..d57f2f62dc 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs @@ -109,11 +109,13 @@ public ElectricChargeDensity(double value, UnitSystem unitSystem) /// public static ElectricChargeDensityUnit BaseUnit { get; } = ElectricChargeDensityUnit.CoulombPerCubicMeter; + [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.")] /// /// Represents the largest possible value of ElectricChargeDensity /// public static ElectricChargeDensity MaxValue { get; } = new ElectricChargeDensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricChargeDensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs index d194b12478..2a083cd8e6 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs @@ -111,11 +111,13 @@ public ElectricConductance(double value, UnitSystem unitSystem) /// public static ElectricConductanceUnit BaseUnit { get; } = ElectricConductanceUnit.Siemens; + [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.")] /// /// Represents the largest possible value of ElectricConductance /// public static ElectricConductance MaxValue { get; } = new ElectricConductance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricConductance /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs index b2c2a9c1c6..b943f42f89 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs @@ -111,11 +111,13 @@ public ElectricConductivity(double value, UnitSystem unitSystem) /// public static ElectricConductivityUnit BaseUnit { get; } = ElectricConductivityUnit.SiemensPerMeter; + [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.")] /// /// Represents the largest possible value of ElectricConductivity /// public static ElectricConductivity MaxValue { get; } = new ElectricConductivity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricConductivity /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs index a138e6df9a..64707fdc0a 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs @@ -113,11 +113,13 @@ public ElectricCurrent(double value, UnitSystem unitSystem) /// public static ElectricCurrentUnit BaseUnit { get; } = ElectricCurrentUnit.Ampere; + [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.")] /// /// Represents the largest possible value of ElectricCurrent /// public static ElectricCurrent MaxValue { get; } = new ElectricCurrent(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricCurrent /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs index ad6a6bdee0..73e7ebec4a 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs @@ -111,11 +111,13 @@ public ElectricCurrentDensity(double value, UnitSystem unitSystem) /// public static ElectricCurrentDensityUnit BaseUnit { get; } = ElectricCurrentDensityUnit.AmperePerSquareMeter; + [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.")] /// /// Represents the largest possible value of ElectricCurrentDensity /// public static ElectricCurrentDensity MaxValue { get; } = new ElectricCurrentDensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricCurrentDensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs index e7ee8be7ec..d45fd2fae3 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs @@ -109,11 +109,13 @@ public ElectricCurrentGradient(double value, UnitSystem unitSystem) /// public static ElectricCurrentGradientUnit BaseUnit { get; } = ElectricCurrentGradientUnit.AmperePerSecond; + [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.")] /// /// Represents the largest possible value of ElectricCurrentGradient /// public static ElectricCurrentGradient MaxValue { get; } = new ElectricCurrentGradient(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricCurrentGradient /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs index 6c96205931..ea8e11fe50 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs @@ -109,11 +109,13 @@ public ElectricField(double value, UnitSystem unitSystem) /// public static ElectricFieldUnit BaseUnit { get; } = ElectricFieldUnit.VoltPerMeter; + [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.")] /// /// Represents the largest possible value of ElectricField /// public static ElectricField MaxValue { get; } = new ElectricField(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricField /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs index 274c01939a..8988329cc8 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs @@ -112,11 +112,13 @@ public ElectricInductance(double value, UnitSystem unitSystem) /// public static ElectricInductanceUnit BaseUnit { get; } = ElectricInductanceUnit.Henry; + [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.")] /// /// Represents the largest possible value of ElectricInductance /// public static ElectricInductance MaxValue { get; } = new ElectricInductance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricInductance /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs index 3e55a9d60a..705b645d9c 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs @@ -110,11 +110,13 @@ public ElectricPotential(double value, UnitSystem unitSystem) /// public static ElectricPotentialUnit BaseUnit { get; } = ElectricPotentialUnit.Volt; + [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.")] /// /// Represents the largest possible value of ElectricPotential /// public static ElectricPotential MaxValue { get; } = new ElectricPotential(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricPotential /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs index e01e0f06c9..1a3446f864 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs @@ -110,11 +110,13 @@ public ElectricPotentialAc(double value, UnitSystem unitSystem) /// public static ElectricPotentialAcUnit BaseUnit { get; } = ElectricPotentialAcUnit.VoltAc; + [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.")] /// /// Represents the largest possible value of ElectricPotentialAc /// public static ElectricPotentialAc MaxValue { get; } = new ElectricPotentialAc(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricPotentialAc /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs index d69a040bf5..cde402e592 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs @@ -125,11 +125,13 @@ public ElectricPotentialChangeRate(double value, UnitSystem unitSystem) /// public static ElectricPotentialChangeRateUnit BaseUnit { get; } = ElectricPotentialChangeRateUnit.VoltPerSecond; + [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.")] /// /// Represents the largest possible value of ElectricPotentialChangeRate /// public static ElectricPotentialChangeRate MaxValue { get; } = new ElectricPotentialChangeRate(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricPotentialChangeRate /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs index 998adeb224..0884581fff 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs @@ -110,11 +110,13 @@ public ElectricPotentialDc(double value, UnitSystem unitSystem) /// public static ElectricPotentialDcUnit BaseUnit { get; } = ElectricPotentialDcUnit.VoltDc; + [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.")] /// /// Represents the largest possible value of ElectricPotentialDc /// public static ElectricPotentialDc MaxValue { get; } = new ElectricPotentialDc(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricPotentialDc /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs index 3f7b425639..7caaf085c7 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs @@ -111,11 +111,13 @@ public ElectricResistance(double value, UnitSystem unitSystem) /// public static ElectricResistanceUnit BaseUnit { get; } = ElectricResistanceUnit.Ohm; + [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.")] /// /// Represents the largest possible value of ElectricResistance /// public static ElectricResistance MaxValue { get; } = new ElectricResistance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricResistance /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs index 56726eaeaf..5082fab658 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs @@ -122,11 +122,13 @@ public ElectricResistivity(double value, UnitSystem unitSystem) /// public static ElectricResistivityUnit BaseUnit { get; } = ElectricResistivityUnit.OhmMeter; + [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.")] /// /// Represents the largest possible value of ElectricResistivity /// public static ElectricResistivity MaxValue { get; } = new ElectricResistivity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricResistivity /// diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs index 4e3b431a64..7089b359ed 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs @@ -111,11 +111,13 @@ public ElectricSurfaceChargeDensity(double value, UnitSystem unitSystem) /// public static ElectricSurfaceChargeDensityUnit BaseUnit { get; } = ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter; + [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.")] /// /// Represents the largest possible value of ElectricSurfaceChargeDensity /// public static ElectricSurfaceChargeDensity MaxValue { get; } = new ElectricSurfaceChargeDensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ElectricSurfaceChargeDensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs index 6e9e2d05f8..da4f5ed5bb 100644 --- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs @@ -141,11 +141,13 @@ public Energy(double value, UnitSystem unitSystem) /// public static EnergyUnit BaseUnit { get; } = EnergyUnit.Joule; + [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.")] /// /// Represents the largest possible value of Energy /// public static Energy MaxValue { get; } = new Energy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Energy /// diff --git a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs index 11da711023..ab2dfafa80 100644 --- a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs @@ -112,11 +112,13 @@ public Entropy(double value, UnitSystem unitSystem) /// public static EntropyUnit BaseUnit { get; } = EntropyUnit.JoulePerKelvin; + [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.")] /// /// Represents the largest possible value of Entropy /// public static Entropy MaxValue { get; } = new Entropy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Entropy /// diff --git a/UnitsNet/GeneratedCode/Quantities/Force.g.cs b/UnitsNet/GeneratedCode/Quantities/Force.g.cs index 78c58aff20..cbcab11743 100644 --- a/UnitsNet/GeneratedCode/Quantities/Force.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Force.g.cs @@ -120,11 +120,13 @@ public Force(double value, UnitSystem unitSystem) /// public static ForceUnit BaseUnit { get; } = ForceUnit.Newton; + [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.")] /// /// Represents the largest possible value of Force /// public static Force MaxValue { get; } = new Force(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Force /// diff --git a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs index a43247ae43..399e10df66 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs @@ -116,11 +116,13 @@ public ForceChangeRate(double value, UnitSystem unitSystem) /// public static ForceChangeRateUnit BaseUnit { get; } = ForceChangeRateUnit.NewtonPerSecond; + [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.")] /// /// Represents the largest possible value of ForceChangeRate /// public static ForceChangeRate MaxValue { get; } = new ForceChangeRate(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ForceChangeRate /// diff --git a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs index 301c8bcc28..5380eb0fe7 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs @@ -143,11 +143,13 @@ public ForcePerLength(double value, UnitSystem unitSystem) /// public static ForcePerLengthUnit BaseUnit { get; } = ForcePerLengthUnit.NewtonPerMeter; + [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.")] /// /// Represents the largest possible value of ForcePerLength /// public static ForcePerLength MaxValue { get; } = new ForcePerLength(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ForcePerLength /// diff --git a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs index a93b883e77..bfcb9e7ee1 100644 --- a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs @@ -115,11 +115,13 @@ public Frequency(double value, UnitSystem unitSystem) /// public static FrequencyUnit BaseUnit { get; } = FrequencyUnit.Hertz; + [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.")] /// /// Represents the largest possible value of Frequency /// public static Frequency MaxValue { get; } = new Frequency(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Frequency /// diff --git a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs index 509c0ed70b..e2de4cdd98 100644 --- a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs @@ -112,11 +112,13 @@ public FuelEfficiency(double value, UnitSystem unitSystem) /// public static FuelEfficiencyUnit BaseUnit { get; } = FuelEfficiencyUnit.LiterPer100Kilometers; + [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.")] /// /// Represents the largest possible value of FuelEfficiency /// public static FuelEfficiency MaxValue { get; } = new FuelEfficiency(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of FuelEfficiency /// diff --git a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs index 0b8bca97b9..23d9f55cfc 100644 --- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs @@ -123,11 +123,13 @@ public HeatFlux(double value, UnitSystem unitSystem) /// public static HeatFluxUnit BaseUnit { get; } = HeatFluxUnit.WattPerSquareMeter; + [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.")] /// /// Represents the largest possible value of HeatFlux /// public static HeatFlux MaxValue { get; } = new HeatFlux(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of HeatFlux /// diff --git a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs index fab206d466..604def6fb0 100644 --- a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs @@ -108,11 +108,13 @@ public HeatTransferCoefficient(double value, UnitSystem unitSystem) /// public static HeatTransferCoefficientUnit BaseUnit { get; } = HeatTransferCoefficientUnit.WattPerSquareMeterKelvin; + [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.")] /// /// Represents the largest possible value of HeatTransferCoefficient /// public static HeatTransferCoefficient MaxValue { get; } = new HeatTransferCoefficient(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of HeatTransferCoefficient /// diff --git a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs index ef3e205cfd..10a9e6f765 100644 --- a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs @@ -112,11 +112,13 @@ public Illuminance(double value, UnitSystem unitSystem) /// public static IlluminanceUnit BaseUnit { get; } = IlluminanceUnit.Lux; + [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.")] /// /// Represents the largest possible value of Illuminance /// public static Illuminance MaxValue { get; } = new Illuminance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Illuminance /// diff --git a/UnitsNet/GeneratedCode/Quantities/Information.g.cs b/UnitsNet/GeneratedCode/Quantities/Information.g.cs index b94d6a26be..7c9346a709 100644 --- a/UnitsNet/GeneratedCode/Quantities/Information.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Information.g.cs @@ -131,11 +131,13 @@ public Information(decimal value, UnitSystem unitSystem) /// public static InformationUnit BaseUnit { get; } = InformationUnit.Bit; + [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.")] /// /// Represents the largest possible value of Information /// public static Information MaxValue { get; } = new Information(decimal.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Information /// diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs index 243e700262..261e4ab6f4 100644 --- a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs @@ -119,11 +119,13 @@ public Irradiance(double value, UnitSystem unitSystem) /// public static IrradianceUnit BaseUnit { get; } = IrradianceUnit.WattPerSquareMeter; + [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.")] /// /// Represents the largest possible value of Irradiance /// public static Irradiance MaxValue { get; } = new Irradiance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Irradiance /// diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs index 2579a542fc..676414be03 100644 --- a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs @@ -115,11 +115,13 @@ public Irradiation(double value, UnitSystem unitSystem) /// public static IrradiationUnit BaseUnit { get; } = IrradiationUnit.JoulePerSquareMeter; + [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.")] /// /// Represents the largest possible value of Irradiation /// public static Irradiation MaxValue { get; } = new Irradiation(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Irradiation /// diff --git a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs index 98764911b2..613a3a6d93 100644 --- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs @@ -116,11 +116,13 @@ public KinematicViscosity(double value, UnitSystem unitSystem) /// public static KinematicViscosityUnit BaseUnit { get; } = KinematicViscosityUnit.SquareMeterPerSecond; + [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.")] /// /// Represents the largest possible value of KinematicViscosity /// public static KinematicViscosity MaxValue { get; } = new KinematicViscosity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of KinematicViscosity /// diff --git a/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs b/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs index 632fa67ce5..d7eecbfd43 100644 --- a/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs @@ -106,11 +106,13 @@ public LapseRate(double value, UnitSystem unitSystem) /// public static LapseRateUnit BaseUnit { get; } = LapseRateUnit.DegreeCelsiusPerKilometer; + [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.")] /// /// Represents the largest possible value of LapseRate /// public static LapseRate MaxValue { get; } = new LapseRate(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of LapseRate /// diff --git a/UnitsNet/GeneratedCode/Quantities/Length.g.cs b/UnitsNet/GeneratedCode/Quantities/Length.g.cs index d6e2f06466..b7fce868cf 100644 --- a/UnitsNet/GeneratedCode/Quantities/Length.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Length.g.cs @@ -138,11 +138,13 @@ public Length(double value, UnitSystem unitSystem) /// public static LengthUnit BaseUnit { get; } = LengthUnit.Meter; + [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.")] /// /// Represents the largest possible value of Length /// public static Length MaxValue { get; } = new Length(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Length /// diff --git a/UnitsNet/GeneratedCode/Quantities/Level.g.cs b/UnitsNet/GeneratedCode/Quantities/Level.g.cs index eca5f6df74..9741cc5cd1 100644 --- a/UnitsNet/GeneratedCode/Quantities/Level.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Level.g.cs @@ -107,11 +107,13 @@ public Level(double value, UnitSystem unitSystem) /// public static LevelUnit BaseUnit { get; } = LevelUnit.Decibel; + [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.")] /// /// Represents the largest possible value of Level /// public static Level MaxValue { get; } = new Level(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Level /// diff --git a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs index 2c12d61a3d..3c491e4ad0 100644 --- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs @@ -122,11 +122,13 @@ public LinearDensity(double value, UnitSystem unitSystem) /// public static LinearDensityUnit BaseUnit { get; } = LinearDensityUnit.KilogramPerMeter; + [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.")] /// /// Represents the largest possible value of LinearDensity /// public static LinearDensity MaxValue { get; } = new LinearDensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of LinearDensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs index bcc7904b7f..f23f6374e9 100644 --- a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs @@ -133,11 +133,13 @@ public LinearPowerDensity(double value, UnitSystem unitSystem) /// public static LinearPowerDensityUnit BaseUnit { get; } = LinearPowerDensityUnit.WattPerMeter; + [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.")] /// /// Represents the largest possible value of LinearPowerDensity /// public static LinearPowerDensity MaxValue { get; } = new LinearPowerDensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of LinearPowerDensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs index c4475ff4b2..db9663572d 100644 --- a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs @@ -122,11 +122,13 @@ public Luminosity(double value, UnitSystem unitSystem) /// public static LuminosityUnit BaseUnit { get; } = LuminosityUnit.Watt; + [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.")] /// /// Represents the largest possible value of Luminosity /// public static Luminosity MaxValue { get; } = new Luminosity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Luminosity /// diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs index 5cabf81677..b0b639d973 100644 --- a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs @@ -109,11 +109,13 @@ public LuminousFlux(double value, UnitSystem unitSystem) /// public static LuminousFluxUnit BaseUnit { get; } = LuminousFluxUnit.Lumen; + [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.")] /// /// Represents the largest possible value of LuminousFlux /// public static LuminousFlux MaxValue { get; } = new LuminousFlux(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of LuminousFlux /// diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs index f6beb642b7..24363d7bca 100644 --- a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs @@ -109,11 +109,13 @@ public LuminousIntensity(double value, UnitSystem unitSystem) /// public static LuminousIntensityUnit BaseUnit { get; } = LuminousIntensityUnit.Candela; + [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.")] /// /// Represents the largest possible value of LuminousIntensity /// public static LuminousIntensity MaxValue { get; } = new LuminousIntensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of LuminousIntensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs index b124240e24..055ed8426d 100644 --- a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs @@ -113,11 +113,13 @@ public MagneticField(double value, UnitSystem unitSystem) /// public static MagneticFieldUnit BaseUnit { get; } = MagneticFieldUnit.Tesla; + [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.")] /// /// Represents the largest possible value of MagneticField /// public static MagneticField MaxValue { get; } = new MagneticField(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MagneticField /// diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs index 2fc322f19f..da8fdb7434 100644 --- a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs @@ -109,11 +109,13 @@ public MagneticFlux(double value, UnitSystem unitSystem) /// public static MagneticFluxUnit BaseUnit { get; } = MagneticFluxUnit.Weber; + [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.")] /// /// Represents the largest possible value of MagneticFlux /// public static MagneticFlux MaxValue { get; } = new MagneticFlux(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MagneticFlux /// diff --git a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs index 1fede64248..e86e5c0806 100644 --- a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs @@ -109,11 +109,13 @@ public Magnetization(double value, UnitSystem unitSystem) /// public static MagnetizationUnit BaseUnit { get; } = MagnetizationUnit.AmperePerMeter; + [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.")] /// /// Represents the largest possible value of Magnetization /// public static Magnetization MaxValue { get; } = new Magnetization(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Magnetization /// diff --git a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs index 9056e68f35..e6884e535e 100644 --- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs @@ -130,11 +130,13 @@ public Mass(double value, UnitSystem unitSystem) /// public static MassUnit BaseUnit { get; } = MassUnit.Kilogram; + [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.")] /// /// Represents the largest possible value of Mass /// public static Mass MaxValue { get; } = new Mass(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Mass /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs index 0118358461..b256f3298a 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs @@ -155,11 +155,13 @@ public MassConcentration(double value, UnitSystem unitSystem) /// public static MassConcentrationUnit BaseUnit { get; } = MassConcentrationUnit.KilogramPerCubicMeter; + [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.")] /// /// Represents the largest possible value of MassConcentration /// public static MassConcentration MaxValue { get; } = new MassConcentration(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MassConcentration /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs index 3a0c7a7000..20208ac664 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs @@ -138,11 +138,13 @@ public MassFlow(double value, UnitSystem unitSystem) /// public static MassFlowUnit BaseUnit { get; } = MassFlowUnit.GramPerSecond; + [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.")] /// /// Represents the largest possible value of MassFlow /// public static MassFlow MaxValue { get; } = new MassFlow(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MassFlow /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs index 9bacd882cd..d59c16bca9 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs @@ -117,11 +117,13 @@ public MassFlux(double value, UnitSystem unitSystem) /// public static MassFluxUnit BaseUnit { get; } = MassFluxUnit.KilogramPerSecondPerSquareMeter; + [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.")] /// /// Represents the largest possible value of MassFlux /// public static MassFlux MaxValue { get; } = new MassFlux(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MassFlux /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs index 7ff1a97651..6a3450d916 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs @@ -132,11 +132,13 @@ public MassFraction(double value, UnitSystem unitSystem) /// public static MassFractionUnit BaseUnit { get; } = MassFractionUnit.DecimalFraction; + [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.")] /// /// Represents the largest possible value of MassFraction /// public static MassFraction MaxValue { get; } = new MassFraction(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MassFraction /// diff --git a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs index 39483d0c8d..83729caf09 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs @@ -133,11 +133,13 @@ public MassMomentOfInertia(double value, UnitSystem unitSystem) /// public static MassMomentOfInertiaUnit BaseUnit { get; } = MassMomentOfInertiaUnit.KilogramSquareMeter; + [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.")] /// /// Represents the largest possible value of MassMomentOfInertia /// public static MassMomentOfInertia MaxValue { get; } = new MassMomentOfInertia(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MassMomentOfInertia /// diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs index ec166846fc..e7741fbecd 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs @@ -108,11 +108,13 @@ public MolarEnergy(double value, UnitSystem unitSystem) /// public static MolarEnergyUnit BaseUnit { get; } = MolarEnergyUnit.JoulePerMole; + [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.")] /// /// Represents the largest possible value of MolarEnergy /// public static MolarEnergy MaxValue { get; } = new MolarEnergy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MolarEnergy /// diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs index 3e9837ddcc..464fa66b94 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs @@ -108,11 +108,13 @@ public MolarEntropy(double value, UnitSystem unitSystem) /// public static MolarEntropyUnit BaseUnit { get; } = MolarEntropyUnit.JoulePerMoleKelvin; + [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.")] /// /// Represents the largest possible value of MolarEntropy /// public static MolarEntropy MaxValue { get; } = new MolarEntropy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MolarEntropy /// diff --git a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs index 92fb698145..a8dd8b9cab 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs @@ -117,11 +117,13 @@ public MolarMass(double value, UnitSystem unitSystem) /// public static MolarMassUnit BaseUnit { get; } = MolarMassUnit.KilogramPerMole; + [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.")] /// /// Represents the largest possible value of MolarMass /// public static MolarMass MaxValue { get; } = new MolarMass(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of MolarMass /// diff --git a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs index eae1098573..3467d83d06 100644 --- a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs @@ -116,11 +116,13 @@ public Molarity(double value, UnitSystem unitSystem) /// public static MolarityUnit BaseUnit { get; } = MolarityUnit.MolesPerCubicMeter; + [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.")] /// /// Represents the largest possible value of Molarity /// public static Molarity MaxValue { get; } = new Molarity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Molarity /// diff --git a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs index b08c1634b4..2d962fed2c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs @@ -109,11 +109,13 @@ public Permeability(double value, UnitSystem unitSystem) /// public static PermeabilityUnit BaseUnit { get; } = PermeabilityUnit.HenryPerMeter; + [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.")] /// /// Represents the largest possible value of Permeability /// public static Permeability MaxValue { get; } = new Permeability(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Permeability /// diff --git a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs index a9d0f53581..dc741d1b30 100644 --- a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs @@ -109,11 +109,13 @@ public Permittivity(double value, UnitSystem unitSystem) /// public static PermittivityUnit BaseUnit { get; } = PermittivityUnit.FaradPerMeter; + [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.")] /// /// Represents the largest possible value of Permittivity /// public static Permittivity MaxValue { get; } = new Permittivity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Permittivity /// diff --git a/UnitsNet/GeneratedCode/Quantities/Power.g.cs b/UnitsNet/GeneratedCode/Quantities/Power.g.cs index 4919698454..e0a6796ec0 100644 --- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Power.g.cs @@ -130,11 +130,13 @@ public Power(decimal value, UnitSystem unitSystem) /// public static PowerUnit BaseUnit { get; } = PowerUnit.Watt; + [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.")] /// /// Represents the largest possible value of Power /// public static Power MaxValue { get; } = new Power(decimal.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Power /// diff --git a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs index 55350574ad..e5b292f261 100644 --- a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs @@ -149,11 +149,13 @@ public PowerDensity(double value, UnitSystem unitSystem) /// public static PowerDensityUnit BaseUnit { get; } = PowerDensityUnit.WattPerCubicMeter; + [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.")] /// /// Represents the largest possible value of PowerDensity /// public static PowerDensity MaxValue { get; } = new PowerDensity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of PowerDensity /// diff --git a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs index 4bea934a26..3cf55e1ee1 100644 --- a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs @@ -107,11 +107,13 @@ public PowerRatio(double value, UnitSystem unitSystem) /// public static PowerRatioUnit BaseUnit { get; } = PowerRatioUnit.DecibelWatt; + [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.")] /// /// Represents the largest possible value of PowerRatio /// public static PowerRatio MaxValue { get; } = new PowerRatio(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of PowerRatio /// diff --git a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs index f0d45f6af0..6e4d486f57 100644 --- a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs @@ -147,11 +147,13 @@ public Pressure(double value, UnitSystem unitSystem) /// public static PressureUnit BaseUnit { get; } = PressureUnit.Pascal; + [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.")] /// /// Represents the largest possible value of Pressure /// public static Pressure MaxValue { get; } = new Pressure(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Pressure /// diff --git a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs index f1799435f5..850eaa41ee 100644 --- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs @@ -112,11 +112,13 @@ public PressureChangeRate(double value, UnitSystem unitSystem) /// public static PressureChangeRateUnit BaseUnit { get; } = PressureChangeRateUnit.PascalPerSecond; + [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.")] /// /// Represents the largest possible value of PressureChangeRate /// public static PressureChangeRate MaxValue { get; } = new PressureChangeRate(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of PressureChangeRate /// diff --git a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs index 35c8207aea..818b458718 100644 --- a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs @@ -111,11 +111,13 @@ public Ratio(double value, UnitSystem unitSystem) /// public static RatioUnit BaseUnit { get; } = RatioUnit.DecimalFraction; + [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.")] /// /// Represents the largest possible value of Ratio /// public static Ratio MaxValue { get; } = new Ratio(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Ratio /// diff --git a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs index 1d59dd8aee..56c5fa0bee 100644 --- a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs @@ -107,11 +107,13 @@ public RatioChangeRate(double value, UnitSystem unitSystem) /// public static RatioChangeRateUnit BaseUnit { get; } = RatioChangeRateUnit.DecimalFractionPerSecond; + [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.")] /// /// Represents the largest possible value of RatioChangeRate /// public static RatioChangeRate MaxValue { get; } = new RatioChangeRate(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of RatioChangeRate /// diff --git a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs index 9b5e7b1001..00e1e5aa93 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs @@ -108,11 +108,13 @@ public ReactiveEnergy(double value, UnitSystem unitSystem) /// public static ReactiveEnergyUnit BaseUnit { get; } = ReactiveEnergyUnit.VoltampereReactiveHour; + [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.")] /// /// Represents the largest possible value of ReactiveEnergy /// public static ReactiveEnergy MaxValue { get; } = new ReactiveEnergy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ReactiveEnergy /// diff --git a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs index 801781f198..e83d09192f 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs @@ -109,11 +109,13 @@ public ReactivePower(double value, UnitSystem unitSystem) /// public static ReactivePowerUnit BaseUnit { get; } = ReactivePowerUnit.VoltampereReactive; + [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.")] /// /// Represents the largest possible value of ReactivePower /// public static ReactivePower MaxValue { get; } = new ReactivePower(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ReactivePower /// diff --git a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs index ff5f946ed7..6d4bc2ab45 100644 --- a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs @@ -106,11 +106,13 @@ public RelativeHumidity(double value, UnitSystem unitSystem) /// public static RelativeHumidityUnit BaseUnit { get; } = RelativeHumidityUnit.Percent; + [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.")] /// /// Represents the largest possible value of RelativeHumidity /// public static RelativeHumidity MaxValue { get; } = new RelativeHumidity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of RelativeHumidity /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs index dc18da238f..3e6097b37e 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs @@ -109,11 +109,13 @@ public RotationalAcceleration(double value, UnitSystem unitSystem) /// public static RotationalAccelerationUnit BaseUnit { get; } = RotationalAccelerationUnit.RadianPerSecondSquared; + [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.")] /// /// Represents the largest possible value of RotationalAcceleration /// public static RotationalAcceleration MaxValue { get; } = new RotationalAcceleration(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of RotationalAcceleration /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs index b0c98ccbbd..1eeadc53df 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs @@ -118,11 +118,13 @@ public RotationalSpeed(double value, UnitSystem unitSystem) /// public static RotationalSpeedUnit BaseUnit { get; } = RotationalSpeedUnit.RadianPerSecond; + [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.")] /// /// Represents the largest possible value of RotationalSpeed /// public static RotationalSpeed MaxValue { get; } = new RotationalSpeed(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of RotationalSpeed /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs index d8facb68b2..a1ed81fe90 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs @@ -138,11 +138,13 @@ public RotationalStiffness(double value, UnitSystem unitSystem) /// public static RotationalStiffnessUnit BaseUnit { get; } = RotationalStiffnessUnit.NewtonMeterPerRadian; + [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.")] /// /// Represents the largest possible value of RotationalStiffness /// public static RotationalStiffness MaxValue { get; } = new RotationalStiffness(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of RotationalStiffness /// diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs index 2fcf8b0a76..5471ab8ca7 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs @@ -110,11 +110,13 @@ public RotationalStiffnessPerLength(double value, UnitSystem unitSystem) /// public static RotationalStiffnessPerLengthUnit BaseUnit { get; } = RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter; + [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.")] /// /// Represents the largest possible value of RotationalStiffnessPerLength /// public static RotationalStiffnessPerLength MaxValue { get; } = new RotationalStiffnessPerLength(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of RotationalStiffnessPerLength /// diff --git a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs index 6146e2814c..48f1094082 100644 --- a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs @@ -109,11 +109,13 @@ public SolidAngle(double value, UnitSystem unitSystem) /// public static SolidAngleUnit BaseUnit { get; } = SolidAngleUnit.Steradian; + [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.")] /// /// Represents the largest possible value of SolidAngle /// public static SolidAngle MaxValue { get; } = new SolidAngle(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of SolidAngle /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs index c48f405406..ae76bbc32f 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs @@ -133,11 +133,13 @@ public SpecificEnergy(double value, UnitSystem unitSystem) /// public static SpecificEnergyUnit BaseUnit { get; } = SpecificEnergyUnit.JoulePerKilogram; + [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.")] /// /// Represents the largest possible value of SpecificEnergy /// public static SpecificEnergy MaxValue { get; } = new SpecificEnergy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of SpecificEnergy /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs index 446b443485..8c1b8a70f0 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs @@ -114,11 +114,13 @@ public SpecificEntropy(double value, UnitSystem unitSystem) /// public static SpecificEntropyUnit BaseUnit { get; } = SpecificEntropyUnit.JoulePerKilogramKelvin; + [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.")] /// /// Represents the largest possible value of SpecificEntropy /// public static SpecificEntropy MaxValue { get; } = new SpecificEntropy(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of SpecificEntropy /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs index 759a634e8c..d027d4d561 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs @@ -108,11 +108,13 @@ public SpecificVolume(double value, UnitSystem unitSystem) /// public static SpecificVolumeUnit BaseUnit { get; } = SpecificVolumeUnit.CubicMeterPerKilogram; + [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.")] /// /// Represents the largest possible value of SpecificVolume /// public static SpecificVolume MaxValue { get; } = new SpecificVolume(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of SpecificVolume /// diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs index 5d5e5ed153..ff766af497 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs @@ -125,11 +125,13 @@ public SpecificWeight(double value, UnitSystem unitSystem) /// public static SpecificWeightUnit BaseUnit { get; } = SpecificWeightUnit.NewtonPerCubicMeter; + [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.")] /// /// Represents the largest possible value of SpecificWeight /// public static SpecificWeight MaxValue { get; } = new SpecificWeight(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of SpecificWeight /// diff --git a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs index f8c93c4ed9..7e1606174e 100644 --- a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs @@ -137,11 +137,13 @@ public Speed(double value, UnitSystem unitSystem) /// public static SpeedUnit BaseUnit { get; } = SpeedUnit.MeterPerSecond; + [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.")] /// /// Represents the largest possible value of Speed /// public static Speed MaxValue { get; } = new Speed(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Speed /// diff --git a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs index 1eff9c3275..12e988a6b0 100644 --- a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs @@ -115,11 +115,13 @@ public Temperature(double value, UnitSystem unitSystem) /// public static TemperatureUnit BaseUnit { get; } = TemperatureUnit.Kelvin; + [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.")] /// /// Represents the largest possible value of Temperature /// public static Temperature MaxValue { get; } = new Temperature(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Temperature /// diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs index cd276f47a8..3e1b2940f1 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs @@ -115,11 +115,13 @@ public TemperatureChangeRate(double value, UnitSystem unitSystem) /// public static TemperatureChangeRateUnit BaseUnit { get; } = TemperatureChangeRateUnit.DegreeCelsiusPerSecond; + [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.")] /// /// Represents the largest possible value of TemperatureChangeRate /// public static TemperatureChangeRate MaxValue { get; } = new TemperatureChangeRate(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of TemperatureChangeRate /// diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs index af3d547f75..a602e04b76 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs @@ -114,11 +114,13 @@ public TemperatureDelta(double value, UnitSystem unitSystem) /// public static TemperatureDeltaUnit BaseUnit { get; } = TemperatureDeltaUnit.Kelvin; + [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.")] /// /// Represents the largest possible value of TemperatureDelta /// public static TemperatureDelta MaxValue { get; } = new TemperatureDelta(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of TemperatureDelta /// diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs index ed9855f86d..683146f3eb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs @@ -110,11 +110,13 @@ public ThermalConductivity(double value, UnitSystem unitSystem) /// public static ThermalConductivityUnit BaseUnit { get; } = ThermalConductivityUnit.WattPerMeterKelvin; + [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.")] /// /// Represents the largest possible value of ThermalConductivity /// public static ThermalConductivity MaxValue { get; } = new ThermalConductivity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ThermalConductivity /// diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs index f52cc28ff4..687219f13d 100644 --- a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs @@ -110,11 +110,13 @@ public ThermalResistance(double value, UnitSystem unitSystem) /// public static ThermalResistanceUnit BaseUnit { get; } = ThermalResistanceUnit.SquareMeterKelvinPerKilowatt; + [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.")] /// /// Represents the largest possible value of ThermalResistance /// public static ThermalResistance MaxValue { get; } = new ThermalResistance(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of ThermalResistance /// diff --git a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs index 66891854ab..625ccd5570 100644 --- a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs @@ -127,11 +127,13 @@ public Torque(double value, UnitSystem unitSystem) /// public static TorqueUnit BaseUnit { get; } = TorqueUnit.NewtonMeter; + [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.")] /// /// Represents the largest possible value of Torque /// public static Torque MaxValue { get; } = new Torque(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Torque /// diff --git a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs index 5f86782332..b9de0b629e 100644 --- a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs @@ -126,11 +126,13 @@ public TorquePerLength(double value, UnitSystem unitSystem) /// public static TorquePerLengthUnit BaseUnit { get; } = TorquePerLengthUnit.NewtonMeterPerMeter; + [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.")] /// /// Represents the largest possible value of TorquePerLength /// public static TorquePerLength MaxValue { get; } = new TorquePerLength(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of TorquePerLength /// diff --git a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs index 880162dbfb..8c4c26e639 100644 --- a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs @@ -109,11 +109,13 @@ public Turbidity(double value, UnitSystem unitSystem) /// public static TurbidityUnit BaseUnit { get; } = TurbidityUnit.NTU; + [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.")] /// /// Represents the largest possible value of Turbidity /// public static Turbidity MaxValue { get; } = new Turbidity(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Turbidity /// diff --git a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs index 38fc44918a..4fb8541f71 100644 --- a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs @@ -106,11 +106,13 @@ public VitaminA(double value, UnitSystem unitSystem) /// public static VitaminAUnit BaseUnit { get; } = VitaminAUnit.InternationalUnit; + [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.")] /// /// Represents the largest possible value of VitaminA /// public static VitaminA MaxValue { get; } = new VitaminA(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of VitaminA /// diff --git a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs index f3f25c646f..858709d8f0 100644 --- a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs @@ -156,11 +156,13 @@ public Volume(double value, UnitSystem unitSystem) /// public static VolumeUnit BaseUnit { get; } = VolumeUnit.CubicMeter; + [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.")] /// /// Represents the largest possible value of Volume /// public static Volume MaxValue { get; } = new Volume(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of Volume /// diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs index 482aca1587..d6a64228b5 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs @@ -128,11 +128,13 @@ public VolumeConcentration(double value, UnitSystem unitSystem) /// public static VolumeConcentrationUnit BaseUnit { get; } = VolumeConcentrationUnit.DecimalFraction; + [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.")] /// /// Represents the largest possible value of VolumeConcentration /// public static VolumeConcentration MaxValue { get; } = new VolumeConcentration(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of VolumeConcentration /// diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs index a07744f116..8963e950fb 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs @@ -161,11 +161,13 @@ public VolumeFlow(double value, UnitSystem unitSystem) /// public static VolumeFlowUnit BaseUnit { get; } = VolumeFlowUnit.CubicMeterPerSecond; + [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.")] /// /// Represents the largest possible value of VolumeFlow /// public static VolumeFlow MaxValue { get; } = new VolumeFlow(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of VolumeFlow /// diff --git a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs index b59c91d8bd..c6d87de2ca 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs @@ -112,11 +112,13 @@ public VolumePerLength(double value, UnitSystem unitSystem) /// public static VolumePerLengthUnit BaseUnit { get; } = VolumePerLengthUnit.CubicMeterPerMeter; + [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.")] /// /// Represents the largest possible value of VolumePerLength /// public static VolumePerLength MaxValue { get; } = new VolumePerLength(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of VolumePerLength /// diff --git a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs index 3f2ec630e1..4d7b1292c4 100644 --- a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs @@ -111,11 +111,13 @@ public WarpingMomentOfInertia(double value, UnitSystem unitSystem) /// public static WarpingMomentOfInertiaUnit BaseUnit { get; } = WarpingMomentOfInertiaUnit.MeterToTheSixth; + [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.")] /// /// Represents the largest possible value of WarpingMomentOfInertia /// public static WarpingMomentOfInertia MaxValue { get; } = new WarpingMomentOfInertia(double.MaxValue, BaseUnit); + [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.")] /// /// Represents the smallest possible value of WarpingMomentOfInertia /// From 19ee802a0fabc70e1ab39fa1be9c16f2db878397 Mon Sep 17 00:00:00 2001 From: Andreas Gullberg Larsen Date: Wed, 30 Dec 2020 01:55:28 +0100 Subject: [PATCH 2/2] Fix position of attribute --- CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Angle.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Area.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/BitRate.g.cs | 4 ++-- .../Quantities/BrakeSpecificFuelConsumption.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs | 4 ++-- .../Quantities/CoefficientOfThermalExpansion.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Density.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Duration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs | 4 ++-- .../GeneratedCode/Quantities/ElectricCurrentGradient.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs | 4 ++-- .../GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs | 4 ++-- .../Quantities/ElectricSurfaceChargeDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Energy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Entropy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Force.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Frequency.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs | 4 ++-- .../GeneratedCode/Quantities/HeatTransferCoefficient.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Information.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Length.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Level.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Mass.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Molarity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Permeability.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Power.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Pressure.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Ratio.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs | 4 ++-- .../Quantities/RotationalStiffnessPerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Speed.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Temperature.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Torque.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Volume.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs | 4 ++-- 105 files changed, 210 insertions(+), 210 deletions(-) diff --git a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs index 863c003584..ce4a8fbd3c 100644 --- a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs +++ b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs @@ -230,16 +230,16 @@ private void GenerateStaticProperties() /// public static {_unitEnumName} BaseUnit {{ get; }} = {_unitEnumName}.{_quantity.BaseUnit}; - [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."")] /// /// 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); - [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."")] /// /// 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 b3cecc3360..794b01453c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs @@ -119,16 +119,16 @@ public Acceleration(double value, UnitSystem unitSystem) /// public static AccelerationUnit BaseUnit { get; } = AccelerationUnit.MeterPerSecondSquared; - [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.")] /// /// 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); - [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.")] /// /// 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 997a66c7c9..56ac16cebd 100644 --- a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs @@ -120,16 +120,16 @@ public AmountOfSubstance(double value, UnitSystem unitSystem) /// public static AmountOfSubstanceUnit BaseUnit { get; } = AmountOfSubstanceUnit.Mole; - [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.")] /// /// 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); - [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.")] /// /// 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 aeaafec0d0..ace10056ef 100644 --- a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs @@ -109,16 +109,16 @@ public AmplitudeRatio(double value, UnitSystem unitSystem) /// public static AmplitudeRatioUnit BaseUnit { get; } = AmplitudeRatioUnit.DecibelVolt; - [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.")] /// /// 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); - [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.")] /// /// 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 2e95cd94a5..f2e1b65b6d 100644 --- a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs @@ -119,16 +119,16 @@ public Angle(double value, UnitSystem unitSystem) /// public static AngleUnit BaseUnit { get; } = AngleUnit.Degree; - [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.")] /// /// 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); - [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.")] /// /// 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 88da50bba3..eb4cf6b251 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs @@ -108,16 +108,16 @@ public ApparentEnergy(double value, UnitSystem unitSystem) /// public static ApparentEnergyUnit BaseUnit { get; } = ApparentEnergyUnit.VoltampereHour; - [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.")] /// /// 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); - [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.")] /// /// 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 21f88dfbdf..5d6d6bee4c 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs @@ -109,16 +109,16 @@ public ApparentPower(double value, UnitSystem unitSystem) /// public static ApparentPowerUnit BaseUnit { get; } = ApparentPowerUnit.Voltampere; - [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.")] /// /// 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); - [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.")] /// /// 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 2c7ee8cfc9..8113942d5a 100644 --- a/UnitsNet/GeneratedCode/Quantities/Area.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Area.g.cs @@ -119,16 +119,16 @@ public Area(double value, UnitSystem unitSystem) /// public static AreaUnit BaseUnit { get; } = AreaUnit.SquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 e3bc033bef..002ece88a8 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs @@ -106,16 +106,16 @@ public AreaDensity(double value, UnitSystem unitSystem) /// public static AreaDensityUnit BaseUnit { get; } = AreaDensityUnit.KilogramPerSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 1889f942f5..316bcd577e 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs @@ -111,16 +111,16 @@ public AreaMomentOfInertia(double value, UnitSystem unitSystem) /// public static AreaMomentOfInertiaUnit BaseUnit { get; } = AreaMomentOfInertiaUnit.MeterToTheFourth; - [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.")] /// /// 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); - [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.")] /// /// 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 3d146d6230..f91bd2193a 100644 --- a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs @@ -134,16 +134,16 @@ public BitRate(decimal value, UnitSystem unitSystem) /// public static BitRateUnit BaseUnit { get; } = BitRateUnit.BitPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 2b27a95312..5d6d27e859 100644 --- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs @@ -108,16 +108,16 @@ public BrakeSpecificFuelConsumption(double value, UnitSystem unitSystem) /// public static BrakeSpecificFuelConsumptionUnit BaseUnit { get; } = BrakeSpecificFuelConsumptionUnit.KilogramPerJoule; - [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.")] /// /// 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); - [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.")] /// /// 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 8e68f349d4..94e0d6a4e2 100644 --- a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs @@ -115,16 +115,16 @@ public Capacitance(double value, UnitSystem unitSystem) /// public static CapacitanceUnit BaseUnit { get; } = CapacitanceUnit.Farad; - [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.")] /// /// 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); - [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.")] /// /// 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 1622361e1d..e088a1f193 100644 --- a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs @@ -108,16 +108,16 @@ public CoefficientOfThermalExpansion(double value, UnitSystem unitSystem) /// public static CoefficientOfThermalExpansionUnit BaseUnit { get; } = CoefficientOfThermalExpansionUnit.InverseKelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 0b7fcabf90..22d9dc88ee 100644 --- a/UnitsNet/GeneratedCode/Quantities/Density.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Density.g.cs @@ -148,16 +148,16 @@ public Density(double value, UnitSystem unitSystem) /// public static DensityUnit BaseUnit { get; } = DensityUnit.KilogramPerCubicMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 8023ce2d91..e0e19aea22 100644 --- a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs @@ -115,16 +115,16 @@ public Duration(double value, UnitSystem unitSystem) /// public static DurationUnit BaseUnit { get; } = DurationUnit.Second; - [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.")] /// /// 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); - [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.")] /// /// 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 7f2782d855..0da85f1f91 100644 --- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs @@ -118,16 +118,16 @@ public DynamicViscosity(double value, UnitSystem unitSystem) /// public static DynamicViscosityUnit BaseUnit { get; } = DynamicViscosityUnit.NewtonSecondPerMeterSquared; - [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.")] /// /// 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); - [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.")] /// /// 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 ea3299be30..310c2c63bb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs @@ -109,16 +109,16 @@ public ElectricAdmittance(double value, UnitSystem unitSystem) /// public static ElectricAdmittanceUnit BaseUnit { get; } = ElectricAdmittanceUnit.Siemens; - [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.")] /// /// 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); - [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.")] /// /// 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 24ce41da1f..6386e9dce8 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs @@ -113,16 +113,16 @@ public ElectricCharge(double value, UnitSystem unitSystem) /// public static ElectricChargeUnit BaseUnit { get; } = ElectricChargeUnit.Coulomb; - [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.")] /// /// 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); - [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.")] /// /// 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 d57f2f62dc..1dfa7fe9b7 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs @@ -109,16 +109,16 @@ public ElectricChargeDensity(double value, UnitSystem unitSystem) /// public static ElectricChargeDensityUnit BaseUnit { get; } = ElectricChargeDensityUnit.CoulombPerCubicMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 2a083cd8e6..82ed69c516 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs @@ -111,16 +111,16 @@ public ElectricConductance(double value, UnitSystem unitSystem) /// public static ElectricConductanceUnit BaseUnit { get; } = ElectricConductanceUnit.Siemens; - [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.")] /// /// 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); - [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.")] /// /// 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 b943f42f89..f3e5b7fc38 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs @@ -111,16 +111,16 @@ public ElectricConductivity(double value, UnitSystem unitSystem) /// public static ElectricConductivityUnit BaseUnit { get; } = ElectricConductivityUnit.SiemensPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 64707fdc0a..a77b76ff99 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs @@ -113,16 +113,16 @@ public ElectricCurrent(double value, UnitSystem unitSystem) /// public static ElectricCurrentUnit BaseUnit { get; } = ElectricCurrentUnit.Ampere; - [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.")] /// /// 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); - [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.")] /// /// 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 73e7ebec4a..9d8065a5c2 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs @@ -111,16 +111,16 @@ public ElectricCurrentDensity(double value, UnitSystem unitSystem) /// public static ElectricCurrentDensityUnit BaseUnit { get; } = ElectricCurrentDensityUnit.AmperePerSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 d45fd2fae3..58e7b53795 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs @@ -109,16 +109,16 @@ public ElectricCurrentGradient(double value, UnitSystem unitSystem) /// public static ElectricCurrentGradientUnit BaseUnit { get; } = ElectricCurrentGradientUnit.AmperePerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 ea8e11fe50..3992791661 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs @@ -109,16 +109,16 @@ public ElectricField(double value, UnitSystem unitSystem) /// public static ElectricFieldUnit BaseUnit { get; } = ElectricFieldUnit.VoltPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 8988329cc8..4b44039b88 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs @@ -112,16 +112,16 @@ public ElectricInductance(double value, UnitSystem unitSystem) /// public static ElectricInductanceUnit BaseUnit { get; } = ElectricInductanceUnit.Henry; - [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.")] /// /// 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); - [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.")] /// /// 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 705b645d9c..d5dfa8dccb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs @@ -110,16 +110,16 @@ public ElectricPotential(double value, UnitSystem unitSystem) /// public static ElectricPotentialUnit BaseUnit { get; } = ElectricPotentialUnit.Volt; - [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.")] /// /// 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); - [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.")] /// /// 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 1a3446f864..739a51dc4d 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs @@ -110,16 +110,16 @@ public ElectricPotentialAc(double value, UnitSystem unitSystem) /// public static ElectricPotentialAcUnit BaseUnit { get; } = ElectricPotentialAcUnit.VoltAc; - [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.")] /// /// 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); - [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.")] /// /// 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 cde402e592..c8109f7112 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs @@ -125,16 +125,16 @@ public ElectricPotentialChangeRate(double value, UnitSystem unitSystem) /// public static ElectricPotentialChangeRateUnit BaseUnit { get; } = ElectricPotentialChangeRateUnit.VoltPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 0884581fff..031b3374d3 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs @@ -110,16 +110,16 @@ public ElectricPotentialDc(double value, UnitSystem unitSystem) /// public static ElectricPotentialDcUnit BaseUnit { get; } = ElectricPotentialDcUnit.VoltDc; - [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.")] /// /// 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); - [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.")] /// /// 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 7caaf085c7..7776ff92f5 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs @@ -111,16 +111,16 @@ public ElectricResistance(double value, UnitSystem unitSystem) /// public static ElectricResistanceUnit BaseUnit { get; } = ElectricResistanceUnit.Ohm; - [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.")] /// /// 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); - [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.")] /// /// 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 5082fab658..9eb0c8f731 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs @@ -122,16 +122,16 @@ public ElectricResistivity(double value, UnitSystem unitSystem) /// public static ElectricResistivityUnit BaseUnit { get; } = ElectricResistivityUnit.OhmMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 7089b359ed..71e7bfe44b 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs @@ -111,16 +111,16 @@ public ElectricSurfaceChargeDensity(double value, UnitSystem unitSystem) /// public static ElectricSurfaceChargeDensityUnit BaseUnit { get; } = ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 da4f5ed5bb..d8b671bff0 100644 --- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs @@ -141,16 +141,16 @@ public Energy(double value, UnitSystem unitSystem) /// public static EnergyUnit BaseUnit { get; } = EnergyUnit.Joule; - [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.")] /// /// 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); - [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.")] /// /// 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 ab2dfafa80..cdbdbb3b00 100644 --- a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs @@ -112,16 +112,16 @@ public Entropy(double value, UnitSystem unitSystem) /// public static EntropyUnit BaseUnit { get; } = EntropyUnit.JoulePerKelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 cbcab11743..336c8764de 100644 --- a/UnitsNet/GeneratedCode/Quantities/Force.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Force.g.cs @@ -120,16 +120,16 @@ public Force(double value, UnitSystem unitSystem) /// public static ForceUnit BaseUnit { get; } = ForceUnit.Newton; - [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.")] /// /// 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); - [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.")] /// /// 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 399e10df66..c2ceb1cd53 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs @@ -116,16 +116,16 @@ public ForceChangeRate(double value, UnitSystem unitSystem) /// public static ForceChangeRateUnit BaseUnit { get; } = ForceChangeRateUnit.NewtonPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 5380eb0fe7..eb88079dd5 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs @@ -143,16 +143,16 @@ public ForcePerLength(double value, UnitSystem unitSystem) /// public static ForcePerLengthUnit BaseUnit { get; } = ForcePerLengthUnit.NewtonPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 bfcb9e7ee1..fab9a3d36c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs @@ -115,16 +115,16 @@ public Frequency(double value, UnitSystem unitSystem) /// public static FrequencyUnit BaseUnit { get; } = FrequencyUnit.Hertz; - [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.")] /// /// 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); - [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.")] /// /// 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 e2de4cdd98..de2c76245c 100644 --- a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs @@ -112,16 +112,16 @@ public FuelEfficiency(double value, UnitSystem unitSystem) /// public static FuelEfficiencyUnit BaseUnit { get; } = FuelEfficiencyUnit.LiterPer100Kilometers; - [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.")] /// /// 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); - [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.")] /// /// 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 23d9f55cfc..8fe5213ce9 100644 --- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs @@ -123,16 +123,16 @@ public HeatFlux(double value, UnitSystem unitSystem) /// public static HeatFluxUnit BaseUnit { get; } = HeatFluxUnit.WattPerSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 604def6fb0..9f97273d26 100644 --- a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs @@ -108,16 +108,16 @@ public HeatTransferCoefficient(double value, UnitSystem unitSystem) /// public static HeatTransferCoefficientUnit BaseUnit { get; } = HeatTransferCoefficientUnit.WattPerSquareMeterKelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 10a9e6f765..fa6d9d1dc3 100644 --- a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs @@ -112,16 +112,16 @@ public Illuminance(double value, UnitSystem unitSystem) /// public static IlluminanceUnit BaseUnit { get; } = IlluminanceUnit.Lux; - [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.")] /// /// 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); - [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.")] /// /// 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 7c9346a709..cdec9ab8bd 100644 --- a/UnitsNet/GeneratedCode/Quantities/Information.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Information.g.cs @@ -131,16 +131,16 @@ public Information(decimal value, UnitSystem unitSystem) /// public static InformationUnit BaseUnit { get; } = InformationUnit.Bit; - [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.")] /// /// 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); - [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.")] /// /// 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 261e4ab6f4..13292d79d4 100644 --- a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs @@ -119,16 +119,16 @@ public Irradiance(double value, UnitSystem unitSystem) /// public static IrradianceUnit BaseUnit { get; } = IrradianceUnit.WattPerSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 676414be03..476494d01c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs @@ -115,16 +115,16 @@ public Irradiation(double value, UnitSystem unitSystem) /// public static IrradiationUnit BaseUnit { get; } = IrradiationUnit.JoulePerSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 613a3a6d93..201f1c1d39 100644 --- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs @@ -116,16 +116,16 @@ public KinematicViscosity(double value, UnitSystem unitSystem) /// public static KinematicViscosityUnit BaseUnit { get; } = KinematicViscosityUnit.SquareMeterPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 d7eecbfd43..394b6e0ced 100644 --- a/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LapseRate.g.cs @@ -106,16 +106,16 @@ public LapseRate(double value, UnitSystem unitSystem) /// public static LapseRateUnit BaseUnit { get; } = LapseRateUnit.DegreeCelsiusPerKilometer; - [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.")] /// /// 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); - [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.")] /// /// 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 b7fce868cf..c1d8e77356 100644 --- a/UnitsNet/GeneratedCode/Quantities/Length.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Length.g.cs @@ -138,16 +138,16 @@ public Length(double value, UnitSystem unitSystem) /// public static LengthUnit BaseUnit { get; } = LengthUnit.Meter; - [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.")] /// /// 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); - [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.")] /// /// 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 9741cc5cd1..5d9a7aba44 100644 --- a/UnitsNet/GeneratedCode/Quantities/Level.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Level.g.cs @@ -107,16 +107,16 @@ public Level(double value, UnitSystem unitSystem) /// public static LevelUnit BaseUnit { get; } = LevelUnit.Decibel; - [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.")] /// /// 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); - [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.")] /// /// 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 3c491e4ad0..e8b4d1d569 100644 --- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs @@ -122,16 +122,16 @@ public LinearDensity(double value, UnitSystem unitSystem) /// public static LinearDensityUnit BaseUnit { get; } = LinearDensityUnit.KilogramPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 f23f6374e9..f87796b9c5 100644 --- a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs @@ -133,16 +133,16 @@ public LinearPowerDensity(double value, UnitSystem unitSystem) /// public static LinearPowerDensityUnit BaseUnit { get; } = LinearPowerDensityUnit.WattPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 db9663572d..8f05e044bf 100644 --- a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs @@ -122,16 +122,16 @@ public Luminosity(double value, UnitSystem unitSystem) /// public static LuminosityUnit BaseUnit { get; } = LuminosityUnit.Watt; - [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.")] /// /// 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); - [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.")] /// /// 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 b0b639d973..f69952bdb1 100644 --- a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs @@ -109,16 +109,16 @@ public LuminousFlux(double value, UnitSystem unitSystem) /// public static LuminousFluxUnit BaseUnit { get; } = LuminousFluxUnit.Lumen; - [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.")] /// /// 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); - [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.")] /// /// 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 24363d7bca..d7bd04cfec 100644 --- a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs @@ -109,16 +109,16 @@ public LuminousIntensity(double value, UnitSystem unitSystem) /// public static LuminousIntensityUnit BaseUnit { get; } = LuminousIntensityUnit.Candela; - [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.")] /// /// 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); - [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.")] /// /// 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 055ed8426d..c9fae20d5b 100644 --- a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs @@ -113,16 +113,16 @@ public MagneticField(double value, UnitSystem unitSystem) /// public static MagneticFieldUnit BaseUnit { get; } = MagneticFieldUnit.Tesla; - [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.")] /// /// 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); - [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.")] /// /// 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 da8fdb7434..4dce7404e7 100644 --- a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs @@ -109,16 +109,16 @@ public MagneticFlux(double value, UnitSystem unitSystem) /// public static MagneticFluxUnit BaseUnit { get; } = MagneticFluxUnit.Weber; - [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.")] /// /// 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); - [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.")] /// /// 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 e86e5c0806..d209fb3593 100644 --- a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs @@ -109,16 +109,16 @@ public Magnetization(double value, UnitSystem unitSystem) /// public static MagnetizationUnit BaseUnit { get; } = MagnetizationUnit.AmperePerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 e6884e535e..e00071d40d 100644 --- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs @@ -130,16 +130,16 @@ public Mass(double value, UnitSystem unitSystem) /// public static MassUnit BaseUnit { get; } = MassUnit.Kilogram; - [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.")] /// /// 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); - [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.")] /// /// 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 b256f3298a..229d963c06 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs @@ -155,16 +155,16 @@ public MassConcentration(double value, UnitSystem unitSystem) /// public static MassConcentrationUnit BaseUnit { get; } = MassConcentrationUnit.KilogramPerCubicMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 20208ac664..12b400f6f6 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs @@ -138,16 +138,16 @@ public MassFlow(double value, UnitSystem unitSystem) /// public static MassFlowUnit BaseUnit { get; } = MassFlowUnit.GramPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 d59c16bca9..768a8d9928 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs @@ -117,16 +117,16 @@ public MassFlux(double value, UnitSystem unitSystem) /// public static MassFluxUnit BaseUnit { get; } = MassFluxUnit.KilogramPerSecondPerSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 6a3450d916..621076e95c 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs @@ -132,16 +132,16 @@ public MassFraction(double value, UnitSystem unitSystem) /// public static MassFractionUnit BaseUnit { get; } = MassFractionUnit.DecimalFraction; - [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.")] /// /// 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); - [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.")] /// /// 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 83729caf09..78638e6177 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs @@ -133,16 +133,16 @@ public MassMomentOfInertia(double value, UnitSystem unitSystem) /// public static MassMomentOfInertiaUnit BaseUnit { get; } = MassMomentOfInertiaUnit.KilogramSquareMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 e7741fbecd..9af01f0b80 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs @@ -108,16 +108,16 @@ public MolarEnergy(double value, UnitSystem unitSystem) /// public static MolarEnergyUnit BaseUnit { get; } = MolarEnergyUnit.JoulePerMole; - [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.")] /// /// 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); - [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.")] /// /// 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 464fa66b94..03b2ff23c3 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs @@ -108,16 +108,16 @@ public MolarEntropy(double value, UnitSystem unitSystem) /// public static MolarEntropyUnit BaseUnit { get; } = MolarEntropyUnit.JoulePerMoleKelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 a8dd8b9cab..fd737b916c 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs @@ -117,16 +117,16 @@ public MolarMass(double value, UnitSystem unitSystem) /// public static MolarMassUnit BaseUnit { get; } = MolarMassUnit.KilogramPerMole; - [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.")] /// /// 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); - [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.")] /// /// 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 3467d83d06..957a2015aa 100644 --- a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs @@ -116,16 +116,16 @@ public Molarity(double value, UnitSystem unitSystem) /// public static MolarityUnit BaseUnit { get; } = MolarityUnit.MolesPerCubicMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 2d962fed2c..98d1757152 100644 --- a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs @@ -109,16 +109,16 @@ public Permeability(double value, UnitSystem unitSystem) /// public static PermeabilityUnit BaseUnit { get; } = PermeabilityUnit.HenryPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 dc741d1b30..e7495b14be 100644 --- a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs @@ -109,16 +109,16 @@ public Permittivity(double value, UnitSystem unitSystem) /// public static PermittivityUnit BaseUnit { get; } = PermittivityUnit.FaradPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 e0a6796ec0..079fbd8245 100644 --- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Power.g.cs @@ -130,16 +130,16 @@ public Power(decimal value, UnitSystem unitSystem) /// public static PowerUnit BaseUnit { get; } = PowerUnit.Watt; - [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.")] /// /// 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); - [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.")] /// /// 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 e5b292f261..98d22665ce 100644 --- a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs @@ -149,16 +149,16 @@ public PowerDensity(double value, UnitSystem unitSystem) /// public static PowerDensityUnit BaseUnit { get; } = PowerDensityUnit.WattPerCubicMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 3cf55e1ee1..64bc8cd44d 100644 --- a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs @@ -107,16 +107,16 @@ public PowerRatio(double value, UnitSystem unitSystem) /// public static PowerRatioUnit BaseUnit { get; } = PowerRatioUnit.DecibelWatt; - [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.")] /// /// 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); - [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.")] /// /// 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 6e4d486f57..31dddf1012 100644 --- a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs @@ -147,16 +147,16 @@ public Pressure(double value, UnitSystem unitSystem) /// public static PressureUnit BaseUnit { get; } = PressureUnit.Pascal; - [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.")] /// /// 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); - [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.")] /// /// 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 850eaa41ee..5d1a27c702 100644 --- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs @@ -112,16 +112,16 @@ public PressureChangeRate(double value, UnitSystem unitSystem) /// public static PressureChangeRateUnit BaseUnit { get; } = PressureChangeRateUnit.PascalPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 818b458718..5c72a590a9 100644 --- a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs @@ -111,16 +111,16 @@ public Ratio(double value, UnitSystem unitSystem) /// public static RatioUnit BaseUnit { get; } = RatioUnit.DecimalFraction; - [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.")] /// /// 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); - [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.")] /// /// 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 56c5fa0bee..bf7cdb8333 100644 --- a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs @@ -107,16 +107,16 @@ public RatioChangeRate(double value, UnitSystem unitSystem) /// public static RatioChangeRateUnit BaseUnit { get; } = RatioChangeRateUnit.DecimalFractionPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 00e1e5aa93..f3614cfd3c 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs @@ -108,16 +108,16 @@ public ReactiveEnergy(double value, UnitSystem unitSystem) /// public static ReactiveEnergyUnit BaseUnit { get; } = ReactiveEnergyUnit.VoltampereReactiveHour; - [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.")] /// /// 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); - [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.")] /// /// 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 e83d09192f..b541e2795b 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs @@ -109,16 +109,16 @@ public ReactivePower(double value, UnitSystem unitSystem) /// public static ReactivePowerUnit BaseUnit { get; } = ReactivePowerUnit.VoltampereReactive; - [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.")] /// /// 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); - [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.")] /// /// 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 6d4bc2ab45..1b158598d1 100644 --- a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs @@ -106,16 +106,16 @@ public RelativeHumidity(double value, UnitSystem unitSystem) /// public static RelativeHumidityUnit BaseUnit { get; } = RelativeHumidityUnit.Percent; - [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.")] /// /// 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); - [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.")] /// /// 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 3e6097b37e..b36c731d29 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs @@ -109,16 +109,16 @@ public RotationalAcceleration(double value, UnitSystem unitSystem) /// public static RotationalAccelerationUnit BaseUnit { get; } = RotationalAccelerationUnit.RadianPerSecondSquared; - [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.")] /// /// 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); - [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.")] /// /// 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 1eeadc53df..3080b8d6e4 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs @@ -118,16 +118,16 @@ public RotationalSpeed(double value, UnitSystem unitSystem) /// public static RotationalSpeedUnit BaseUnit { get; } = RotationalSpeedUnit.RadianPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 a1ed81fe90..7850818355 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs @@ -138,16 +138,16 @@ public RotationalStiffness(double value, UnitSystem unitSystem) /// public static RotationalStiffnessUnit BaseUnit { get; } = RotationalStiffnessUnit.NewtonMeterPerRadian; - [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.")] /// /// 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); - [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.")] /// /// 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 5471ab8ca7..32c878cd22 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs @@ -110,16 +110,16 @@ public RotationalStiffnessPerLength(double value, UnitSystem unitSystem) /// public static RotationalStiffnessPerLengthUnit BaseUnit { get; } = RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 48f1094082..085b552023 100644 --- a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs @@ -109,16 +109,16 @@ public SolidAngle(double value, UnitSystem unitSystem) /// public static SolidAngleUnit BaseUnit { get; } = SolidAngleUnit.Steradian; - [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.")] /// /// 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); - [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.")] /// /// 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 ae76bbc32f..a705b221ab 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs @@ -133,16 +133,16 @@ public SpecificEnergy(double value, UnitSystem unitSystem) /// public static SpecificEnergyUnit BaseUnit { get; } = SpecificEnergyUnit.JoulePerKilogram; - [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.")] /// /// 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); - [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.")] /// /// 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 8c1b8a70f0..c0614499e4 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs @@ -114,16 +114,16 @@ public SpecificEntropy(double value, UnitSystem unitSystem) /// public static SpecificEntropyUnit BaseUnit { get; } = SpecificEntropyUnit.JoulePerKilogramKelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 d027d4d561..1b7838470d 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs @@ -108,16 +108,16 @@ public SpecificVolume(double value, UnitSystem unitSystem) /// public static SpecificVolumeUnit BaseUnit { get; } = SpecificVolumeUnit.CubicMeterPerKilogram; - [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.")] /// /// 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); - [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.")] /// /// 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 ff766af497..862974e683 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs @@ -125,16 +125,16 @@ public SpecificWeight(double value, UnitSystem unitSystem) /// public static SpecificWeightUnit BaseUnit { get; } = SpecificWeightUnit.NewtonPerCubicMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 7e1606174e..444bfd638c 100644 --- a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs @@ -137,16 +137,16 @@ public Speed(double value, UnitSystem unitSystem) /// public static SpeedUnit BaseUnit { get; } = SpeedUnit.MeterPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 12e988a6b0..6010cf8e5e 100644 --- a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs @@ -115,16 +115,16 @@ public Temperature(double value, UnitSystem unitSystem) /// public static TemperatureUnit BaseUnit { get; } = TemperatureUnit.Kelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 3e1b2940f1..07e52ff9b0 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs @@ -115,16 +115,16 @@ public TemperatureChangeRate(double value, UnitSystem unitSystem) /// public static TemperatureChangeRateUnit BaseUnit { get; } = TemperatureChangeRateUnit.DegreeCelsiusPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 a602e04b76..6ed5e616da 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs @@ -114,16 +114,16 @@ public TemperatureDelta(double value, UnitSystem unitSystem) /// public static TemperatureDeltaUnit BaseUnit { get; } = TemperatureDeltaUnit.Kelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 683146f3eb..40fd52687d 100644 --- a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs @@ -110,16 +110,16 @@ public ThermalConductivity(double value, UnitSystem unitSystem) /// public static ThermalConductivityUnit BaseUnit { get; } = ThermalConductivityUnit.WattPerMeterKelvin; - [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.")] /// /// 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); - [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.")] /// /// 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 687219f13d..194a6c38eb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs @@ -110,16 +110,16 @@ public ThermalResistance(double value, UnitSystem unitSystem) /// public static ThermalResistanceUnit BaseUnit { get; } = ThermalResistanceUnit.SquareMeterKelvinPerKilowatt; - [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.")] /// /// 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); - [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.")] /// /// 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 625ccd5570..18943f5203 100644 --- a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs @@ -127,16 +127,16 @@ public Torque(double value, UnitSystem unitSystem) /// public static TorqueUnit BaseUnit { get; } = TorqueUnit.NewtonMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 b9de0b629e..eea1307611 100644 --- a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs @@ -126,16 +126,16 @@ public TorquePerLength(double value, UnitSystem unitSystem) /// public static TorquePerLengthUnit BaseUnit { get; } = TorquePerLengthUnit.NewtonMeterPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 8c4c26e639..5f690b9ba1 100644 --- a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs @@ -109,16 +109,16 @@ public Turbidity(double value, UnitSystem unitSystem) /// public static TurbidityUnit BaseUnit { get; } = TurbidityUnit.NTU; - [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.")] /// /// 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); - [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.")] /// /// 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 4fb8541f71..bc8fbb4e67 100644 --- a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs @@ -106,16 +106,16 @@ public VitaminA(double value, UnitSystem unitSystem) /// public static VitaminAUnit BaseUnit { get; } = VitaminAUnit.InternationalUnit; - [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.")] /// /// 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); - [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.")] /// /// 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 858709d8f0..fccfc48d54 100644 --- a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs @@ -156,16 +156,16 @@ public Volume(double value, UnitSystem unitSystem) /// public static VolumeUnit BaseUnit { get; } = VolumeUnit.CubicMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 d6a64228b5..1c1d0b4650 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs @@ -128,16 +128,16 @@ public VolumeConcentration(double value, UnitSystem unitSystem) /// public static VolumeConcentrationUnit BaseUnit { get; } = VolumeConcentrationUnit.DecimalFraction; - [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.")] /// /// 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); - [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.")] /// /// 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 8963e950fb..c1b80c3f9a 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs @@ -161,16 +161,16 @@ public VolumeFlow(double value, UnitSystem unitSystem) /// public static VolumeFlowUnit BaseUnit { get; } = VolumeFlowUnit.CubicMeterPerSecond; - [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.")] /// /// 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); - [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.")] /// /// 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 c6d87de2ca..1362d4f9ed 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs @@ -112,16 +112,16 @@ public VolumePerLength(double value, UnitSystem unitSystem) /// public static VolumePerLengthUnit BaseUnit { get; } = VolumePerLengthUnit.CubicMeterPerMeter; - [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.")] /// /// 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); - [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.")] /// /// 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 4d7b1292c4..daa5651cd7 100644 --- a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs @@ -111,16 +111,16 @@ public WarpingMomentOfInertia(double value, UnitSystem unitSystem) /// public static WarpingMomentOfInertiaUnit BaseUnit { get; } = WarpingMomentOfInertiaUnit.MeterToTheSixth; - [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.")] /// /// 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); - [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.")] /// /// 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); ///