diff --git a/Common/UnitDefinitions/TemperatureGradient.json b/Common/UnitDefinitions/TemperatureGradient.json
index d0cf566fc1..d2c9d5f5bd 100644
--- a/Common/UnitDefinitions/TemperatureGradient.json
+++ b/Common/UnitDefinitions/TemperatureGradient.json
@@ -25,7 +25,7 @@
},
{
"SingularName": "DegreeCelsiusPerMeter",
- "PluralName": "DegreesCelciusPerMeter",
+ "PluralName": "DegreesCelsiusPerMeter",
"BaseUnits": {
"L": "Meter",
"Θ": "DegreeCelsius"
@@ -57,7 +57,7 @@
},
{
"SingularName": "DegreeCelsiusPerKilometer",
- "PluralName": "DegreesCelciusPerKilometer",
+ "PluralName": "DegreesCelsiusPerKilometer",
"BaseUnits": {
"L": "Kilometer",
"Θ": "DegreeCelsius"
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/TemperatureGradient.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/TemperatureGradient.g.cs
index 2f2283f3af..9946644fa7 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/TemperatureGradient.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/TemperatureGradient.g.cs
@@ -82,12 +82,12 @@ public TemperatureGradient(double value, TemperatureGradientUnit unit)
///
/// Gets a value of this quantity converted into
///
- public double DegreesCelciusPerKilometer => As(TemperatureGradientUnit.DegreeCelsiusPerKilometer);
+ public double DegreesCelsiusPerKilometer => As(TemperatureGradientUnit.DegreeCelsiusPerKilometer);
///
/// Gets a value of this quantity converted into
///
- public double DegreesCelciusPerMeter => As(TemperatureGradientUnit.DegreeCelsiusPerMeter);
+ public double DegreesCelsiusPerMeter => As(TemperatureGradientUnit.DegreeCelsiusPerMeter);
///
/// Gets a value of this quantity converted into
@@ -107,13 +107,13 @@ public TemperatureGradient(double value, TemperatureGradientUnit unit)
/// Creates a from .
///
/// If value is NaN or Infinity.
- public static TemperatureGradient FromDegreesCelciusPerKilometer(double degreescelciusperkilometer) => new TemperatureGradient(degreescelciusperkilometer, TemperatureGradientUnit.DegreeCelsiusPerKilometer);
+ public static TemperatureGradient FromDegreesCelsiusPerKilometer(double degreescelsiusperkilometer) => new TemperatureGradient(degreescelsiusperkilometer, TemperatureGradientUnit.DegreeCelsiusPerKilometer);
///
/// Creates a from .
///
/// If value is NaN or Infinity.
- public static TemperatureGradient FromDegreesCelciusPerMeter(double degreescelciuspermeter) => new TemperatureGradient(degreescelciuspermeter, TemperatureGradientUnit.DegreeCelsiusPerMeter);
+ public static TemperatureGradient FromDegreesCelsiusPerMeter(double degreescelsiuspermeter) => new TemperatureGradient(degreescelsiuspermeter, TemperatureGradientUnit.DegreeCelsiusPerMeter);
///
/// Creates a from .
diff --git a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToTemperatureGradientExtensionsTest.g.cs b/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToTemperatureGradientExtensionsTest.g.cs
index 4062ea3754..ae4c204e70 100644
--- a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToTemperatureGradientExtensionsTest.g.cs
+++ b/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToTemperatureGradientExtensionsTest.g.cs
@@ -25,12 +25,12 @@ namespace UnitsNet.Tests
public class NumberToTemperatureGradientExtensionsTests
{
[Fact]
- public void NumberToDegreesCelciusPerKilometerTest() =>
- Assert.Equal(TemperatureGradient.FromDegreesCelciusPerKilometer(2), 2.DegreesCelciusPerKilometer());
+ public void NumberToDegreesCelsiusPerKilometerTest() =>
+ Assert.Equal(TemperatureGradient.FromDegreesCelsiusPerKilometer(2), 2.DegreesCelsiusPerKilometer());
[Fact]
- public void NumberToDegreesCelciusPerMeterTest() =>
- Assert.Equal(TemperatureGradient.FromDegreesCelciusPerMeter(2), 2.DegreesCelciusPerMeter());
+ public void NumberToDegreesCelsiusPerMeterTest() =>
+ Assert.Equal(TemperatureGradient.FromDegreesCelsiusPerMeter(2), 2.DegreesCelsiusPerMeter());
[Fact]
public void NumberToDegreesFahrenheitPerFootTest() =>
diff --git a/UnitsNet.NumberExtensions/GeneratedCode/NumberToTemperatureGradientExtensions.g.cs b/UnitsNet.NumberExtensions/GeneratedCode/NumberToTemperatureGradientExtensions.g.cs
index e8ad22828c..b12ee6e3bb 100644
--- a/UnitsNet.NumberExtensions/GeneratedCode/NumberToTemperatureGradientExtensions.g.cs
+++ b/UnitsNet.NumberExtensions/GeneratedCode/NumberToTemperatureGradientExtensions.g.cs
@@ -32,21 +32,21 @@ namespace UnitsNet.NumberExtensions.NumberToTemperatureGradient
///
public static class NumberToTemperatureGradientExtensions
{
- ///
- public static TemperatureGradient DegreesCelciusPerKilometer(this T value)
+ ///
+ public static TemperatureGradient DegreesCelsiusPerKilometer(this T value)
where T : notnull
#if NET7_0_OR_GREATER
, INumber
#endif
- => TemperatureGradient.FromDegreesCelciusPerKilometer(Convert.ToDouble(value));
+ => TemperatureGradient.FromDegreesCelsiusPerKilometer(Convert.ToDouble(value));
- ///
- public static TemperatureGradient DegreesCelciusPerMeter(this T value)
+ ///
+ public static TemperatureGradient DegreesCelsiusPerMeter(this T value)
where T : notnull
#if NET7_0_OR_GREATER
, INumber
#endif
- => TemperatureGradient.FromDegreesCelciusPerMeter(Convert.ToDouble(value));
+ => TemperatureGradient.FromDegreesCelsiusPerMeter(Convert.ToDouble(value));
///
public static TemperatureGradient DegreesFahrenheitPerFoot(this T value)
diff --git a/UnitsNet.Tests/CustomCode/TemperatureGradientTests.cs b/UnitsNet.Tests/CustomCode/TemperatureGradientTests.cs
index 1a8c34c1ec..6917ede410 100644
--- a/UnitsNet.Tests/CustomCode/TemperatureGradientTests.cs
+++ b/UnitsNet.Tests/CustomCode/TemperatureGradientTests.cs
@@ -26,9 +26,9 @@ public class TemperatureGradientTests : TemperatureGradientTestsBase
{
protected override bool SupportsSIUnitSystem => true;
- protected override double DegreesCelciusPerKilometerInOneKelvinPerMeter => 1000;
+ protected override double DegreesCelsiusPerKilometerInOneKelvinPerMeter => 1000;
- protected override double DegreesCelciusPerMeterInOneKelvinPerMeter => 1;
+ protected override double DegreesCelsiusPerMeterInOneKelvinPerMeter => 1;
protected override double DegreesFahrenheitPerFootInOneKelvinPerMeter => 0.54864;
@@ -37,7 +37,7 @@ public class TemperatureGradientTests : TemperatureGradientTestsBase
[Fact]
public void TemperatureDeltaDividedByTemperatureGradientEqualsLength()
{
- Length length = TemperatureDelta.FromDegreesCelsius(50) / TemperatureGradient.FromDegreesCelciusPerKilometer(5);
+ Length length = TemperatureDelta.FromDegreesCelsius(50) / TemperatureGradient.FromDegreesCelsiusPerKilometer(5);
Assert.Equal(length, Length.FromKilometers(10));
}
@@ -45,20 +45,20 @@ public void TemperatureDeltaDividedByTemperatureGradientEqualsLength()
public void TemperatureDeltaDividedByLengthEqualsTemperatureGradient()
{
TemperatureGradient temperatureGradient = TemperatureDelta.FromDegreesCelsius(50) / Length.FromKilometers(10);
- Assert.Equal(5, temperatureGradient.DegreesCelciusPerKilometer);
+ Assert.Equal(5, temperatureGradient.DegreesCelsiusPerKilometer);
}
[Fact]
public void LengthMultipliedByTemperatureGradientEqualsTemperatureDelta()
{
- TemperatureDelta temperatureDelta = Length.FromKilometers(10) * TemperatureGradient.FromDegreesCelciusPerKilometer(5);
+ TemperatureDelta temperatureDelta = Length.FromKilometers(10) * TemperatureGradient.FromDegreesCelsiusPerKilometer(5);
Assert.Equal(temperatureDelta, TemperatureDelta.FromDegreesCelsius(50));
}
[Fact]
public void TemperatureGradientMultipliedByLengthEqualsTemperatureDelta()
{
- TemperatureDelta temperatureDelta = TemperatureGradient.FromDegreesCelciusPerKilometer(5) * Length.FromKilometers(10);
+ TemperatureDelta temperatureDelta = TemperatureGradient.FromDegreesCelsiusPerKilometer(5) * Length.FromKilometers(10);
Assert.Equal(temperatureDelta, TemperatureDelta.FromDegreesCelsius(50));
}
}
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs
index 8fbe6a90cc..6e983b0018 100644
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/TestsBase/TemperatureGradientTestsBase.g.cs
@@ -38,14 +38,14 @@ namespace UnitsNet.Tests
// ReSharper disable once PartialTypeWithSinglePart
public abstract partial class TemperatureGradientTestsBase : QuantityTestsBase
{
- protected abstract double DegreesCelciusPerKilometerInOneKelvinPerMeter { get; }
- protected abstract double DegreesCelciusPerMeterInOneKelvinPerMeter { get; }
+ protected abstract double DegreesCelsiusPerKilometerInOneKelvinPerMeter { get; }
+ protected abstract double DegreesCelsiusPerMeterInOneKelvinPerMeter { get; }
protected abstract double DegreesFahrenheitPerFootInOneKelvinPerMeter { get; }
protected abstract double KelvinsPerMeterInOneKelvinPerMeter { get; }
// ReSharper disable VirtualMemberNeverOverriden.Global
- protected virtual double DegreesCelciusPerKilometerTolerance { get { return 1e-5; } }
- protected virtual double DegreesCelciusPerMeterTolerance { get { return 1e-5; } }
+ protected virtual double DegreesCelsiusPerKilometerTolerance { get { return 1e-5; } }
+ protected virtual double DegreesCelsiusPerMeterTolerance { get { return 1e-5; } }
protected virtual double DegreesFahrenheitPerFootTolerance { get { return 1e-5; } }
protected virtual double KelvinsPerMeterTolerance { get { return 1e-5; } }
// ReSharper restore VirtualMemberNeverOverriden.Global
@@ -54,8 +54,8 @@ public abstract partial class TemperatureGradientTestsBase : QuantityTestsBase
{
return unit switch
{
- TemperatureGradientUnit.DegreeCelsiusPerKilometer => (DegreesCelciusPerKilometerInOneKelvinPerMeter, DegreesCelciusPerKilometerTolerance),
- TemperatureGradientUnit.DegreeCelsiusPerMeter => (DegreesCelciusPerMeterInOneKelvinPerMeter, DegreesCelciusPerMeterTolerance),
+ TemperatureGradientUnit.DegreeCelsiusPerKilometer => (DegreesCelsiusPerKilometerInOneKelvinPerMeter, DegreesCelsiusPerKilometerTolerance),
+ TemperatureGradientUnit.DegreeCelsiusPerMeter => (DegreesCelsiusPerMeterInOneKelvinPerMeter, DegreesCelsiusPerMeterTolerance),
TemperatureGradientUnit.DegreeFahrenheitPerFoot => (DegreesFahrenheitPerFootInOneKelvinPerMeter, DegreesFahrenheitPerFootTolerance),
TemperatureGradientUnit.KelvinPerMeter => (KelvinsPerMeterInOneKelvinPerMeter, KelvinsPerMeterTolerance),
_ => throw new NotSupportedException()
@@ -135,8 +135,8 @@ public void TemperatureGradient_QuantityInfo_ReturnsQuantityInfoDescribingQuanti
public void KelvinPerMeterToTemperatureGradientUnits()
{
TemperatureGradient kelvinpermeter = TemperatureGradient.FromKelvinsPerMeter(1);
- AssertEx.EqualTolerance(DegreesCelciusPerKilometerInOneKelvinPerMeter, kelvinpermeter.DegreesCelciusPerKilometer, DegreesCelciusPerKilometerTolerance);
- AssertEx.EqualTolerance(DegreesCelciusPerMeterInOneKelvinPerMeter, kelvinpermeter.DegreesCelciusPerMeter, DegreesCelciusPerMeterTolerance);
+ AssertEx.EqualTolerance(DegreesCelsiusPerKilometerInOneKelvinPerMeter, kelvinpermeter.DegreesCelsiusPerKilometer, DegreesCelsiusPerKilometerTolerance);
+ AssertEx.EqualTolerance(DegreesCelsiusPerMeterInOneKelvinPerMeter, kelvinpermeter.DegreesCelsiusPerMeter, DegreesCelsiusPerMeterTolerance);
AssertEx.EqualTolerance(DegreesFahrenheitPerFootInOneKelvinPerMeter, kelvinpermeter.DegreesFahrenheitPerFoot, DegreesFahrenheitPerFootTolerance);
AssertEx.EqualTolerance(KelvinsPerMeterInOneKelvinPerMeter, kelvinpermeter.KelvinsPerMeter, KelvinsPerMeterTolerance);
}
@@ -145,11 +145,11 @@ public void KelvinPerMeterToTemperatureGradientUnits()
public void From_ValueAndUnit_ReturnsQuantityWithSameValueAndUnit()
{
var quantity00 = TemperatureGradient.From(1, TemperatureGradientUnit.DegreeCelsiusPerKilometer);
- AssertEx.EqualTolerance(1, quantity00.DegreesCelciusPerKilometer, DegreesCelciusPerKilometerTolerance);
+ AssertEx.EqualTolerance(1, quantity00.DegreesCelsiusPerKilometer, DegreesCelsiusPerKilometerTolerance);
Assert.Equal(TemperatureGradientUnit.DegreeCelsiusPerKilometer, quantity00.Unit);
var quantity01 = TemperatureGradient.From(1, TemperatureGradientUnit.DegreeCelsiusPerMeter);
- AssertEx.EqualTolerance(1, quantity01.DegreesCelciusPerMeter, DegreesCelciusPerMeterTolerance);
+ AssertEx.EqualTolerance(1, quantity01.DegreesCelsiusPerMeter, DegreesCelsiusPerMeterTolerance);
Assert.Equal(TemperatureGradientUnit.DegreeCelsiusPerMeter, quantity01.Unit);
var quantity02 = TemperatureGradient.From(1, TemperatureGradientUnit.DegreeFahrenheitPerFoot);
@@ -184,8 +184,8 @@ public void FromKelvinsPerMeter_WithNanValue_DoNotThrowsArgumentException()
public void As()
{
var kelvinpermeter = TemperatureGradient.FromKelvinsPerMeter(1);
- AssertEx.EqualTolerance(DegreesCelciusPerKilometerInOneKelvinPerMeter, kelvinpermeter.As(TemperatureGradientUnit.DegreeCelsiusPerKilometer), DegreesCelciusPerKilometerTolerance);
- AssertEx.EqualTolerance(DegreesCelciusPerMeterInOneKelvinPerMeter, kelvinpermeter.As(TemperatureGradientUnit.DegreeCelsiusPerMeter), DegreesCelciusPerMeterTolerance);
+ AssertEx.EqualTolerance(DegreesCelsiusPerKilometerInOneKelvinPerMeter, kelvinpermeter.As(TemperatureGradientUnit.DegreeCelsiusPerKilometer), DegreesCelsiusPerKilometerTolerance);
+ AssertEx.EqualTolerance(DegreesCelsiusPerMeterInOneKelvinPerMeter, kelvinpermeter.As(TemperatureGradientUnit.DegreeCelsiusPerMeter), DegreesCelsiusPerMeterTolerance);
AssertEx.EqualTolerance(DegreesFahrenheitPerFootInOneKelvinPerMeter, kelvinpermeter.As(TemperatureGradientUnit.DegreeFahrenheitPerFoot), DegreesFahrenheitPerFootTolerance);
AssertEx.EqualTolerance(KelvinsPerMeterInOneKelvinPerMeter, kelvinpermeter.As(TemperatureGradientUnit.KelvinPerMeter), KelvinsPerMeterTolerance);
}
@@ -213,14 +213,14 @@ public void Parse()
try
{
var parsed = TemperatureGradient.Parse("1 ∆°C/km", CultureInfo.GetCultureInfo("en-US"));
- AssertEx.EqualTolerance(1, parsed.DegreesCelciusPerKilometer, DegreesCelciusPerKilometerTolerance);
+ AssertEx.EqualTolerance(1, parsed.DegreesCelsiusPerKilometer, DegreesCelsiusPerKilometerTolerance);
Assert.Equal(TemperatureGradientUnit.DegreeCelsiusPerKilometer, parsed.Unit);
} catch (AmbiguousUnitParseException) { /* Some units have the same abbreviations */ }
try
{
var parsed = TemperatureGradient.Parse("1 ∆°C/m", CultureInfo.GetCultureInfo("en-US"));
- AssertEx.EqualTolerance(1, parsed.DegreesCelciusPerMeter, DegreesCelciusPerMeterTolerance);
+ AssertEx.EqualTolerance(1, parsed.DegreesCelsiusPerMeter, DegreesCelsiusPerMeterTolerance);
Assert.Equal(TemperatureGradientUnit.DegreeCelsiusPerMeter, parsed.Unit);
} catch (AmbiguousUnitParseException) { /* Some units have the same abbreviations */ }
@@ -245,13 +245,13 @@ public void TryParse()
{
{
Assert.True(TemperatureGradient.TryParse("1 ∆°C/km", CultureInfo.GetCultureInfo("en-US"), out var parsed));
- AssertEx.EqualTolerance(1, parsed.DegreesCelciusPerKilometer, DegreesCelciusPerKilometerTolerance);
+ AssertEx.EqualTolerance(1, parsed.DegreesCelsiusPerKilometer, DegreesCelsiusPerKilometerTolerance);
Assert.Equal(TemperatureGradientUnit.DegreeCelsiusPerKilometer, parsed.Unit);
}
{
Assert.True(TemperatureGradient.TryParse("1 ∆°C/m", CultureInfo.GetCultureInfo("en-US"), out var parsed));
- AssertEx.EqualTolerance(1, parsed.DegreesCelciusPerMeter, DegreesCelciusPerMeterTolerance);
+ AssertEx.EqualTolerance(1, parsed.DegreesCelsiusPerMeter, DegreesCelsiusPerMeterTolerance);
Assert.Equal(TemperatureGradientUnit.DegreeCelsiusPerMeter, parsed.Unit);
}
@@ -369,8 +369,8 @@ public virtual void ToUnit_FromDefaultQuantity_ReturnsQuantityWithGivenUnit(Temp
public void ConversionRoundTrip()
{
TemperatureGradient kelvinpermeter = TemperatureGradient.FromKelvinsPerMeter(1);
- AssertEx.EqualTolerance(1, TemperatureGradient.FromDegreesCelciusPerKilometer(kelvinpermeter.DegreesCelciusPerKilometer).KelvinsPerMeter, DegreesCelciusPerKilometerTolerance);
- AssertEx.EqualTolerance(1, TemperatureGradient.FromDegreesCelciusPerMeter(kelvinpermeter.DegreesCelciusPerMeter).KelvinsPerMeter, DegreesCelciusPerMeterTolerance);
+ AssertEx.EqualTolerance(1, TemperatureGradient.FromDegreesCelsiusPerKilometer(kelvinpermeter.DegreesCelsiusPerKilometer).KelvinsPerMeter, DegreesCelsiusPerKilometerTolerance);
+ AssertEx.EqualTolerance(1, TemperatureGradient.FromDegreesCelsiusPerMeter(kelvinpermeter.DegreesCelsiusPerMeter).KelvinsPerMeter, DegreesCelsiusPerMeterTolerance);
AssertEx.EqualTolerance(1, TemperatureGradient.FromDegreesFahrenheitPerFoot(kelvinpermeter.DegreesFahrenheitPerFoot).KelvinsPerMeter, DegreesFahrenheitPerFootTolerance);
AssertEx.EqualTolerance(1, TemperatureGradient.FromKelvinsPerMeter(kelvinpermeter.KelvinsPerMeter).KelvinsPerMeter, KelvinsPerMeterTolerance);
}
diff --git a/UnitsNet/CustomCode/Quantities/TemperatureGradient.extra.cs b/UnitsNet/CustomCode/Quantities/TemperatureGradient.extra.cs
index c6d5d087c7..468c9f2902 100644
--- a/UnitsNet/CustomCode/Quantities/TemperatureGradient.extra.cs
+++ b/UnitsNet/CustomCode/Quantities/TemperatureGradient.extra.cs
@@ -8,7 +8,7 @@ public partial struct TemperatureGradient
/// Get from divided by .
public static Length operator /(TemperatureDelta left, TemperatureGradient right)
{
- return Length.FromKilometers(left.Kelvins / right.DegreesCelciusPerKilometer);
+ return Length.FromKilometers(left.Kelvins / right.DegreesCelsiusPerKilometer);
}
/// Get from times .
@@ -17,7 +17,7 @@ public partial struct TemperatureGradient
/// Get from times .
public static TemperatureDelta operator *(TemperatureGradient left, Length right)
{
- return TemperatureDelta.FromDegreesCelsius(left.DegreesCelciusPerKilometer * right.Kilometers);
+ return TemperatureDelta.FromDegreesCelsius(left.DegreesCelsiusPerKilometer * right.Kilometers);
}
}
}
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
index ff8eebdd23..9ce18cec11 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
@@ -65,8 +65,8 @@ static TemperatureGradient()
Info = new QuantityInfo("TemperatureGradient",
new UnitInfo[]
{
- new UnitInfo(TemperatureGradientUnit.DegreeCelsiusPerKilometer, "DegreesCelciusPerKilometer", new BaseUnits(length: LengthUnit.Kilometer, temperature: TemperatureUnit.DegreeCelsius), "TemperatureGradient"),
- new UnitInfo(TemperatureGradientUnit.DegreeCelsiusPerMeter, "DegreesCelciusPerMeter", new BaseUnits(length: LengthUnit.Meter, temperature: TemperatureUnit.DegreeCelsius), "TemperatureGradient"),
+ new UnitInfo(TemperatureGradientUnit.DegreeCelsiusPerKilometer, "DegreesCelsiusPerKilometer", new BaseUnits(length: LengthUnit.Kilometer, temperature: TemperatureUnit.DegreeCelsius), "TemperatureGradient"),
+ new UnitInfo(TemperatureGradientUnit.DegreeCelsiusPerMeter, "DegreesCelsiusPerMeter", new BaseUnits(length: LengthUnit.Meter, temperature: TemperatureUnit.DegreeCelsius), "TemperatureGradient"),
new UnitInfo(TemperatureGradientUnit.DegreeFahrenheitPerFoot, "DegreesFahrenheitPerFoot", new BaseUnits(length: LengthUnit.Foot, temperature: TemperatureUnit.DegreeFahrenheit), "TemperatureGradient"),
new UnitInfo(TemperatureGradientUnit.KelvinPerMeter, "KelvinsPerMeter", new BaseUnits(length: LengthUnit.Meter, temperature: TemperatureUnit.Kelvin), "TemperatureGradient"),
},
@@ -175,12 +175,12 @@ public TemperatureGradient(double value, UnitSystem unitSystem)
///
/// Gets a value of this quantity converted into
///
- public double DegreesCelciusPerKilometer => As(TemperatureGradientUnit.DegreeCelsiusPerKilometer);
+ public double DegreesCelsiusPerKilometer => As(TemperatureGradientUnit.DegreeCelsiusPerKilometer);
///
/// Gets a value of this quantity converted into
///
- public double DegreesCelciusPerMeter => As(TemperatureGradientUnit.DegreeCelsiusPerMeter);
+ public double DegreesCelsiusPerMeter => As(TemperatureGradientUnit.DegreeCelsiusPerMeter);
///
/// Gets a value of this quantity converted into
@@ -245,9 +245,9 @@ public static string GetAbbreviation(TemperatureGradientUnit unit, IFormatProvid
/// Creates a from .
///
/// If value is NaN or Infinity.
- public static TemperatureGradient FromDegreesCelciusPerKilometer(QuantityValue degreescelciusperkilometer)
+ public static TemperatureGradient FromDegreesCelsiusPerKilometer(QuantityValue degreescelsiusperkilometer)
{
- double value = (double) degreescelciusperkilometer;
+ double value = (double) degreescelsiusperkilometer;
return new TemperatureGradient(value, TemperatureGradientUnit.DegreeCelsiusPerKilometer);
}
@@ -255,9 +255,9 @@ public static TemperatureGradient FromDegreesCelciusPerKilometer(QuantityValue d
/// Creates a from .
///
/// If value is NaN or Infinity.
- public static TemperatureGradient FromDegreesCelciusPerMeter(QuantityValue degreescelciuspermeter)
+ public static TemperatureGradient FromDegreesCelsiusPerMeter(QuantityValue degreescelsiuspermeter)
{
- double value = (double) degreescelciuspermeter;
+ double value = (double) degreescelsiuspermeter;
return new TemperatureGradient(value, TemperatureGradientUnit.DegreeCelsiusPerMeter);
}
diff --git a/UnitsNet/GeneratedCode/Resources/TemperatureGradient.restext b/UnitsNet/GeneratedCode/Resources/TemperatureGradient.restext
index 207a5d5278..30ecf9bc77 100644
--- a/UnitsNet/GeneratedCode/Resources/TemperatureGradient.restext
+++ b/UnitsNet/GeneratedCode/Resources/TemperatureGradient.restext
@@ -1,4 +1,4 @@
-DegreesCelciusPerKilometer=∆°C/km
-DegreesCelciusPerMeter=∆°C/m
+DegreesCelsiusPerKilometer=∆°C/km
+DegreesCelsiusPerMeter=∆°C/m
DegreesFahrenheitPerFoot=∆°F/ft
KelvinsPerMeter=∆°K/m