diff --git a/Common/UnitDefinitions/TorquePerLength.json b/Common/UnitDefinitions/TorquePerLength.json
deleted file mode 100644
index 89728fdc7f..0000000000
--- a/Common/UnitDefinitions/TorquePerLength.json
+++ /dev/null
@@ -1,155 +0,0 @@
-{
- "Name": "TorquePerLength",
- "BaseUnit": "NewtonMeterPerMeter",
- "XmlDocSummary": "The magnitude of torque per unit length.",
- "BaseDimensions": {
- "L": 1,
- "M": 1,
- "T": -2
- },
- "Units": [
- {
- "SingularName": "NewtonMillimeterPerMeter",
- "PluralName": "NewtonMillimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 0.001",
- "FromBaseToUnitFunc": "{x} * 1000",
- "Prefixes": [ "Kilo", "Mega" ],
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "N·mm/m" ]
- }
- ]
- },
- {
- "SingularName": "NewtonCentimeterPerMeter",
- "PluralName": "NewtonCentimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 0.01",
- "FromBaseToUnitFunc": "{x} * 100",
- "Prefixes": [ "Kilo", "Mega" ],
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "N·cm/m" ]
- }
- ]
- },
- {
- "SingularName": "NewtonMeterPerMeter",
- "PluralName": "NewtonMetersPerMeter",
- "FromUnitToBaseFunc": "{x}",
- "FromBaseToUnitFunc": "{x}",
- "Prefixes": [ "Kilo", "Mega" ],
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "N·m/m" ]
- },
- {
- "Culture": "ru-RU",
- "Abbreviations": [ "Н·м/м" ]
- }
- ]
- },
- {
- "SingularName": "PoundForceInchPerFoot",
- "PluralName": "PoundForceInchesPerFoot",
- "FromUnitToBaseFunc": "{x} * 0.370685147638",
- "FromBaseToUnitFunc": "{x} / 0.370685147638",
- "Prefixes": [ "Kilo", "Mega" ],
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "lbf·in/ft" ],
- "AbbreviationsForPrefixes": { "Kilo": "kipf·in/ft" }
- }
- ]
- },
- {
- "SingularName": "PoundForceFootPerFoot",
- "PluralName": "PoundForceFeetPerFoot",
- "FromUnitToBaseFunc": "{x} * 4.44822161526",
- "FromBaseToUnitFunc": "{x} / 4.44822161526",
- "Prefixes": [ "Kilo", "Mega" ],
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "lbf·ft/ft" ],
- "AbbreviationsForPrefixes": { "Kilo": "kipf·ft/ft" }
- }
- ]
- },
- {
- "SingularName": "KilogramForceMillimeterPerMeter",
- "PluralName": "KilogramForceMillimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 0.00980665019960652",
- "FromBaseToUnitFunc": "{x} * 101.971619222242",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "kgf·mm/m" ]
- }
- ]
- },
- {
- "SingularName": "KilogramForceCentimeterPerMeter",
- "PluralName": "KilogramForceCentimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 0.0980665019960652",
- "FromBaseToUnitFunc": "{x} * 10.1971619222242",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "kgf·cm/m" ]
- }
- ]
- },
- {
- "SingularName": "KilogramForceMeterPerMeter",
- "PluralName": "KilogramForceMetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 9.80665019960652",
- "FromBaseToUnitFunc": "{x} * 0.101971619222242",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "kgf·m/m" ]
- }
- ]
- },
- {
- "SingularName": "TonneForceMillimeterPerMeter",
- "PluralName": "TonneForceMillimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 9.80665019960652",
- "FromBaseToUnitFunc": "{x} * 0.101971619222242",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "tf·mm/m" ]
- }
- ]
- },
- {
- "SingularName": "TonneForceCentimeterPerMeter",
- "PluralName": "TonneForceCentimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 98.0665019960652",
- "FromBaseToUnitFunc": "{x} * 0.0101971619222242",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "tf·cm/m" ]
- }
- ]
- },
- {
- "SingularName": "TonneForceMeterPerMeter",
- "PluralName": "TonneForceMetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 9806.65019960653",
- "FromBaseToUnitFunc": "{x} * 0.000101971619222242",
- "Localization": [
- {
- "Culture": "en-US",
- "Abbreviations": [ "tf·m/m" ]
- }
- ]
- }
- ]
-}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/TorquePerLength.nfproj b/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/TorquePerLength.nfproj
deleted file mode 100644
index 249aa5a53d..0000000000
--- a/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/TorquePerLength.nfproj
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
- $(MSBuildExtensionsPath)\nanoFramework\v1.0\
-
-
-
- Debug
- AnyCPU
- {11A8DD76-328B-46DF-9F39-F559912D0360};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- {c27e1919-64f1-ce81-c6d9-b46ced745a12}
- Library
- Properties
- 512
- UnitsNet
- UnitsNet.TorquePerLength
- v1.0
- bin\$(Configuration)\$(AssemblyName).xml
-
-
-
-
-
-
-
-
-
- ..\packages\nanoFramework.CoreLibrary.1.15.5\lib\mscorlib.dll
- True
- True
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/UnitsNet.NanoFramework.TorquePerLength.nuspec b/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/UnitsNet.NanoFramework.TorquePerLength.nuspec
deleted file mode 100644
index d98c09edab..0000000000
--- a/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/UnitsNet.NanoFramework.TorquePerLength.nuspec
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- UnitsNet.nanoFramework.TorquePerLength
- 6.0.0-pre012
- Units.NET TorquePerLength - nanoFramework
- Andreas Gullberg Larsen,nanoframework
- UnitsNet
- MIT-0
- https://github.com/angularsen/UnitsNet
- false
- Adds TorquePerLength units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.
- https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png
-
-
- Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com).
- en-US
- nanoframework torqueperlength unit units quantity quantities measurement si metric imperial abbreviation abbreviations convert conversion parse immutable
-
-
-
-
-
-
-
-
diff --git a/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/packages.config b/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/packages.config
deleted file mode 100644
index 313a8dccdf..0000000000
--- a/UnitsNet.NanoFramework/GeneratedCode/TorquePerLength/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/UnitsNet.NanoFramework/GeneratedCode/UnitsNet.nanoFramework.sln b/UnitsNet.NanoFramework/GeneratedCode/UnitsNet.nanoFramework.sln
index d64098f57d..6317d09a09 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/UnitsNet.nanoFramework.sln
+++ b/UnitsNet.NanoFramework/GeneratedCode/UnitsNet.nanoFramework.sln
@@ -230,8 +230,6 @@ Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "ThermalResistance", "Therma
EndProject
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "Torque", "Torque\Torque.nfproj", "{3b6bbc8a-1b22-deff-2980-53b77b6f3e5f}"
EndProject
-Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "TorquePerLength", "TorquePerLength\TorquePerLength.nfproj", "{c27e1919-64f1-ce81-c6d9-b46ced745a12}"
-EndProject
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "Turbidity", "Turbidity\Turbidity.nfproj", "{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}"
EndProject
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VitaminA", "VitaminA\VitaminA.nfproj", "{c00185af-8735-7674-5fa6-232424b04161}"
@@ -940,12 +938,6 @@ Global
{3b6bbc8a-1b22-deff-2980-53b77b6f3e5f}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3b6bbc8a-1b22-deff-2980-53b77b6f3e5f}.Release|Any CPU.Build.0 = Release|Any CPU
{3b6bbc8a-1b22-deff-2980-53b77b6f3e5f}.Release|Any CPU.Deploy.0 = Release|Any CPU
-{c27e1919-64f1-ce81-c6d9-b46ced745a12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-{c27e1919-64f1-ce81-c6d9-b46ced745a12}.Debug|Any CPU.Build.0 = Debug|Any CPU
-{c27e1919-64f1-ce81-c6d9-b46ced745a12}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
-{c27e1919-64f1-ce81-c6d9-b46ced745a12}.Release|Any CPU.ActiveCfg = Release|Any CPU
-{c27e1919-64f1-ce81-c6d9-b46ced745a12}.Release|Any CPU.Build.0 = Release|Any CPU
-{c27e1919-64f1-ce81-c6d9-b46ced745a12}.Release|Any CPU.Deploy.0 = Release|Any CPU
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Debug|Any CPU.Build.0 = Debug|Any CPU
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
diff --git a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToTorquePerLengthExtensionsTest.g.cs b/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToTorquePerLengthExtensionsTest.g.cs
deleted file mode 100644
index a86e82f967..0000000000
--- a/UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToTorquePerLengthExtensionsTest.g.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by \generate-code.bat.
-//
-// Changes to this file will be lost when the code is regenerated.
-// The build server regenerates the code before each build and a pre-build
-// step will regenerate the code on each local build.
-//
-// See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units.
-//
-// Add CustomCode\Quantities\MyQuantity.extra.cs files to add code to generated quantities.
-// Add UnitDefinitions\MyQuantity.json and run generate-code.bat to generate new units or quantities.
-//
-//
-//------------------------------------------------------------------------------
-
-// Licensed under MIT No Attribution, see LICENSE file at the root.
-// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
-
-using UnitsNet.NumberExtensions.NumberToTorquePerLength;
-using Xunit;
-
-namespace UnitsNet.Tests
-{
- public class NumberToTorquePerLengthExtensionsTests
- {
- [Fact]
- public void NumberToKilogramForceCentimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromKilogramForceCentimetersPerMeter(2), 2.KilogramForceCentimetersPerMeter());
-
- [Fact]
- public void NumberToKilogramForceMetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromKilogramForceMetersPerMeter(2), 2.KilogramForceMetersPerMeter());
-
- [Fact]
- public void NumberToKilogramForceMillimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromKilogramForceMillimetersPerMeter(2), 2.KilogramForceMillimetersPerMeter());
-
- [Fact]
- public void NumberToKilonewtonCentimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromKilonewtonCentimetersPerMeter(2), 2.KilonewtonCentimetersPerMeter());
-
- [Fact]
- public void NumberToKilonewtonMetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromKilonewtonMetersPerMeter(2), 2.KilonewtonMetersPerMeter());
-
- [Fact]
- public void NumberToKilonewtonMillimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromKilonewtonMillimetersPerMeter(2), 2.KilonewtonMillimetersPerMeter());
-
- [Fact]
- public void NumberToKilopoundForceFeetPerFootTest() =>
- Assert.Equal(TorquePerLength.FromKilopoundForceFeetPerFoot(2), 2.KilopoundForceFeetPerFoot());
-
- [Fact]
- public void NumberToKilopoundForceInchesPerFootTest() =>
- Assert.Equal(TorquePerLength.FromKilopoundForceInchesPerFoot(2), 2.KilopoundForceInchesPerFoot());
-
- [Fact]
- public void NumberToMeganewtonCentimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromMeganewtonCentimetersPerMeter(2), 2.MeganewtonCentimetersPerMeter());
-
- [Fact]
- public void NumberToMeganewtonMetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromMeganewtonMetersPerMeter(2), 2.MeganewtonMetersPerMeter());
-
- [Fact]
- public void NumberToMeganewtonMillimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromMeganewtonMillimetersPerMeter(2), 2.MeganewtonMillimetersPerMeter());
-
- [Fact]
- public void NumberToMegapoundForceFeetPerFootTest() =>
- Assert.Equal(TorquePerLength.FromMegapoundForceFeetPerFoot(2), 2.MegapoundForceFeetPerFoot());
-
- [Fact]
- public void NumberToMegapoundForceInchesPerFootTest() =>
- Assert.Equal(TorquePerLength.FromMegapoundForceInchesPerFoot(2), 2.MegapoundForceInchesPerFoot());
-
- [Fact]
- public void NumberToNewtonCentimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromNewtonCentimetersPerMeter(2), 2.NewtonCentimetersPerMeter());
-
- [Fact]
- public void NumberToNewtonMetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromNewtonMetersPerMeter(2), 2.NewtonMetersPerMeter());
-
- [Fact]
- public void NumberToNewtonMillimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromNewtonMillimetersPerMeter(2), 2.NewtonMillimetersPerMeter());
-
- [Fact]
- public void NumberToPoundForceFeetPerFootTest() =>
- Assert.Equal(TorquePerLength.FromPoundForceFeetPerFoot(2), 2.PoundForceFeetPerFoot());
-
- [Fact]
- public void NumberToPoundForceInchesPerFootTest() =>
- Assert.Equal(TorquePerLength.FromPoundForceInchesPerFoot(2), 2.PoundForceInchesPerFoot());
-
- [Fact]
- public void NumberToTonneForceCentimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromTonneForceCentimetersPerMeter(2), 2.TonneForceCentimetersPerMeter());
-
- [Fact]
- public void NumberToTonneForceMetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromTonneForceMetersPerMeter(2), 2.TonneForceMetersPerMeter());
-
- [Fact]
- public void NumberToTonneForceMillimetersPerMeterTest() =>
- Assert.Equal(TorquePerLength.FromTonneForceMillimetersPerMeter(2), 2.TonneForceMillimetersPerMeter());
-
- }
-}
diff --git a/UnitsNet.NumberExtensions/GeneratedCode/NumberToTorquePerLengthExtensions.g.cs b/UnitsNet.NumberExtensions/GeneratedCode/NumberToTorquePerLengthExtensions.g.cs
deleted file mode 100644
index c5d1cb1107..0000000000
--- a/UnitsNet.NumberExtensions/GeneratedCode/NumberToTorquePerLengthExtensions.g.cs
+++ /dev/null
@@ -1,204 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by \generate-code.bat.
-//
-// Changes to this file will be lost when the code is regenerated.
-// The build server regenerates the code before each build and a pre-build
-// step will regenerate the code on each local build.
-//
-// See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units.
-//
-// Add CustomCode\Quantities\MyQuantity.extra.cs files to add code to generated quantities.
-// Add UnitDefinitions\MyQuantity.json and run generate-code.bat to generate new units or quantities.
-//
-//
-//------------------------------------------------------------------------------
-
-// Licensed under MIT No Attribution, see LICENSE file at the root.
-// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
-
-using System;
-
-#if NET7_0_OR_GREATER
-using System.Numerics;
-#endif
-
-#nullable enable
-
-namespace UnitsNet.NumberExtensions.NumberToTorquePerLength
-{
- ///
- /// A number to TorquePerLength Extensions
- ///
- public static class NumberToTorquePerLengthExtensions
- {
- ///
- public static TorquePerLength KilogramForceCentimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilogramForceCentimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength KilogramForceMetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilogramForceMetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength KilogramForceMillimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilogramForceMillimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength KilonewtonCentimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilonewtonCentimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength KilonewtonMetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilonewtonMetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength KilonewtonMillimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilonewtonMillimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength KilopoundForceFeetPerFoot(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilopoundForceFeetPerFoot(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength KilopoundForceInchesPerFoot(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromKilopoundForceInchesPerFoot(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength MeganewtonCentimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromMeganewtonCentimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength MeganewtonMetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromMeganewtonMetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength MeganewtonMillimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromMeganewtonMillimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength MegapoundForceFeetPerFoot(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromMegapoundForceFeetPerFoot(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength MegapoundForceInchesPerFoot(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromMegapoundForceInchesPerFoot(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength NewtonCentimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromNewtonCentimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength NewtonMetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromNewtonMetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength NewtonMillimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromNewtonMillimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength PoundForceFeetPerFoot(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromPoundForceFeetPerFoot(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength PoundForceInchesPerFoot(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromPoundForceInchesPerFoot(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength TonneForceCentimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromTonneForceCentimetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength TonneForceMetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromTonneForceMetersPerMeter(Convert.ToDouble(value));
-
- ///
- public static TorquePerLength TonneForceMillimetersPerMeter(this T value)
- where T : notnull
-#if NET7_0_OR_GREATER
- , INumber
-#endif
- => TorquePerLength.FromTonneForceMillimetersPerMeter(Convert.ToDouble(value));
-
- }
-}
diff --git a/UnitsNet.Tests/CustomCode/TorquePerLengthTests.cs b/UnitsNet.Tests/CustomCode/TorquePerLengthTests.cs
deleted file mode 100644
index 783cd49716..0000000000
--- a/UnitsNet.Tests/CustomCode/TorquePerLengthTests.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by \generate-code.bat.
-//
-// Changes to this file will be lost when the code is regenerated.
-// The build server regenerates the code before each build and a pre-build
-// step will regenerate the code on each local build.
-//
-// See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units.
-//
-// Add CustomCode\Quantities\MyQuantity.extra.cs files to add code to generated quantities.
-// Add UnitDefinitions\MyQuantity.json and run generate-code.bat to generate new units or quantities.
-//
-//
-//------------------------------------------------------------------------------
-
-// Licensed under MIT No Attribution, see LICENSE file at the root.
-// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
-
-using System;
-
-namespace UnitsNet.Tests.CustomCode
-{
- public class TorquePerLengthTests : TorquePerLengthTestsBase
- {
- protected override bool SupportsSIUnitSystem => false;
- protected override double KilogramForceCentimetersPerMeterInOneNewtonMeterPerMeter => 10.197162130;
- protected override double KilogramForceMetersPerMeterInOneNewtonMeterPerMeter => 0.101971621;
- protected override double KilogramForceMillimetersPerMeterInOneNewtonMeterPerMeter => 101.971621298;
- protected override double KilonewtonCentimetersPerMeterInOneNewtonMeterPerMeter => 1E-1;
- protected override double KilonewtonMetersPerMeterInOneNewtonMeterPerMeter => 1E-3;
- protected override double KilonewtonMillimetersPerMeterInOneNewtonMeterPerMeter => 1;
- protected override double KilopoundForceFeetPerFootInOneNewtonMeterPerMeter => 0.224808943099E-3;
- protected override double KilopoundForceInchesPerFootInOneNewtonMeterPerMeter => 2.69770722235E-3;
- protected override double MeganewtonCentimetersPerMeterInOneNewtonMeterPerMeter => 1E-4;
- protected override double MeganewtonMetersPerMeterInOneNewtonMeterPerMeter => 1E-6;
- protected override double MeganewtonMillimetersPerMeterInOneNewtonMeterPerMeter => 1E-3;
- protected override double MegapoundForceFeetPerFootInOneNewtonMeterPerMeter => 0.224808943099E-6;
- protected override double MegapoundForceInchesPerFootInOneNewtonMeterPerMeter => 2.69770722235E-6;
- protected override double NewtonCentimetersPerMeterInOneNewtonMeterPerMeter => 1E2;
- protected override double NewtonMetersPerMeterInOneNewtonMeterPerMeter => 1;
- protected override double NewtonMillimetersPerMeterInOneNewtonMeterPerMeter => 1E3;
- protected override double PoundForceFeetPerFootInOneNewtonMeterPerMeter => 0.224808943099;
- protected override double PoundForceInchesPerFootInOneNewtonMeterPerMeter => 2.69770722235;
- protected override double TonneForceCentimetersPerMeterInOneNewtonMeterPerMeter => 1.01971621298e-2;
- protected override double TonneForceMetersPerMeterInOneNewtonMeterPerMeter => 1.01971621298e-4;
- protected override double TonneForceMillimetersPerMeterInOneNewtonMeterPerMeter => 1.01971621298e-1;
- }
-}
diff --git a/UnitsNet.Tests/GeneratedCode/IQuantityTests.g.cs b/UnitsNet.Tests/GeneratedCode/IQuantityTests.g.cs
index 4b66fd9359..a3b35208ce 100644
--- a/UnitsNet.Tests/GeneratedCode/IQuantityTests.g.cs
+++ b/UnitsNet.Tests/GeneratedCode/IQuantityTests.g.cs
@@ -148,7 +148,6 @@ void Assertion(int expectedValue, Enum expectedUnit, IQuantity quantity)
Assertion(3, ThermalConductivityUnit.WattPerMeterKelvin, Quantity.From(3, ThermalConductivityUnit.WattPerMeterKelvin));
Assertion(3, ThermalResistanceUnit.SquareMeterKelvinPerWatt, Quantity.From(3, ThermalResistanceUnit.SquareMeterKelvinPerWatt));
Assertion(3, TorqueUnit.TonneForceMillimeter, Quantity.From(3, TorqueUnit.TonneForceMillimeter));
- Assertion(3, TorquePerLengthUnit.TonneForceMillimeterPerMeter, Quantity.From(3, TorquePerLengthUnit.TonneForceMillimeterPerMeter));
Assertion(3, TurbidityUnit.NTU, Quantity.From(3, TurbidityUnit.NTU));
Assertion(3, VitaminAUnit.InternationalUnit, Quantity.From(3, VitaminAUnit.InternationalUnit));
Assertion(3, VolumeUnit.UsTeaspoon, Quantity.From(3, VolumeUnit.UsTeaspoon));
@@ -279,7 +278,6 @@ public void QuantityInfo_IsSameAsStaticInfoProperty()
Assertion(ThermalConductivity.Info, ThermalConductivity.Zero);
Assertion(ThermalResistance.Info, ThermalResistance.Zero);
Assertion(Torque.Info, Torque.Zero);
- Assertion(TorquePerLength.Info, TorquePerLength.Zero);
Assertion(Turbidity.Info, Turbidity.Zero);
Assertion(VitaminA.Info, VitaminA.Zero);
Assertion(Volume.Info, Volume.Zero);
@@ -410,7 +408,6 @@ public void Dimensions_IsSameAsStaticBaseDimensions()
Assertion(ThermalConductivity.BaseDimensions, ThermalConductivity.Zero);
Assertion(ThermalResistance.BaseDimensions, ThermalResistance.Zero);
Assertion(Torque.BaseDimensions, Torque.Zero);
- Assertion(TorquePerLength.BaseDimensions, TorquePerLength.Zero);
Assertion(Turbidity.BaseDimensions, Turbidity.Zero);
Assertion(VitaminA.BaseDimensions, VitaminA.Zero);
Assertion(Volume.BaseDimensions, Volume.Zero);
diff --git a/UnitsNet.Tests/GeneratedCode/TestsBase/TorquePerLengthTestsBase.g.cs b/UnitsNet.Tests/GeneratedCode/TestsBase/TorquePerLengthTestsBase.g.cs
deleted file mode 100644
index 1349746299..0000000000
--- a/UnitsNet.Tests/GeneratedCode/TestsBase/TorquePerLengthTestsBase.g.cs
+++ /dev/null
@@ -1,1455 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by \generate-code.bat.
-//
-// Changes to this file will be lost when the code is regenerated.
-// The build server regenerates the code before each build and a pre-build
-// step will regenerate the code on each local build.
-//
-// See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units.
-//
-// Add CustomCode\Quantities\MyQuantity.extra.cs files to add code to generated quantities.
-// Add UnitDefinitions\MyQuantity.json and run generate-code.bat to generate new units or quantities.
-//
-//
-//------------------------------------------------------------------------------
-
-// Licensed under MIT No Attribution, see LICENSE file at the root.
-// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
-
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-using System.Linq;
-using System.Threading;
-using UnitsNet.Tests.TestsBase;
-using UnitsNet.Units;
-using Xunit;
-
-// Disable build warning CS1718: Comparison made to same variable; did you mean to compare something else?
-#pragma warning disable 1718
-
-// ReSharper disable once CheckNamespace
-namespace UnitsNet.Tests
-{
- ///
- /// Test of TorquePerLength.
- ///
-// ReSharper disable once PartialTypeWithSinglePart
- public abstract partial class TorquePerLengthTestsBase : QuantityTestsBase
- {
- protected abstract double KilogramForceCentimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double KilogramForceMetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double KilogramForceMillimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double KilonewtonCentimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double KilonewtonMetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double KilonewtonMillimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double KilopoundForceFeetPerFootInOneNewtonMeterPerMeter { get; }
- protected abstract double KilopoundForceInchesPerFootInOneNewtonMeterPerMeter { get; }
- protected abstract double MeganewtonCentimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double MeganewtonMetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double MeganewtonMillimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double MegapoundForceFeetPerFootInOneNewtonMeterPerMeter { get; }
- protected abstract double MegapoundForceInchesPerFootInOneNewtonMeterPerMeter { get; }
- protected abstract double NewtonCentimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double NewtonMetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double NewtonMillimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double PoundForceFeetPerFootInOneNewtonMeterPerMeter { get; }
- protected abstract double PoundForceInchesPerFootInOneNewtonMeterPerMeter { get; }
- protected abstract double TonneForceCentimetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double TonneForceMetersPerMeterInOneNewtonMeterPerMeter { get; }
- protected abstract double TonneForceMillimetersPerMeterInOneNewtonMeterPerMeter { get; }
-
-// ReSharper disable VirtualMemberNeverOverriden.Global
- protected virtual double KilogramForceCentimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double KilogramForceMetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double KilogramForceMillimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double KilonewtonCentimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double KilonewtonMetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double KilonewtonMillimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double KilopoundForceFeetPerFootTolerance { get { return 1e-5; } }
- protected virtual double KilopoundForceInchesPerFootTolerance { get { return 1e-5; } }
- protected virtual double MeganewtonCentimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double MeganewtonMetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double MeganewtonMillimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double MegapoundForceFeetPerFootTolerance { get { return 1e-5; } }
- protected virtual double MegapoundForceInchesPerFootTolerance { get { return 1e-5; } }
- protected virtual double NewtonCentimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double NewtonMetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double NewtonMillimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double PoundForceFeetPerFootTolerance { get { return 1e-5; } }
- protected virtual double PoundForceInchesPerFootTolerance { get { return 1e-5; } }
- protected virtual double TonneForceCentimetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double TonneForceMetersPerMeterTolerance { get { return 1e-5; } }
- protected virtual double TonneForceMillimetersPerMeterTolerance { get { return 1e-5; } }
-// ReSharper restore VirtualMemberNeverOverriden.Global
-
- protected (double UnitsInBaseUnit, double Tolerence) GetConversionFactor(TorquePerLengthUnit unit)
- {
- return unit switch
- {
- TorquePerLengthUnit.KilogramForceCentimeterPerMeter => (KilogramForceCentimetersPerMeterInOneNewtonMeterPerMeter, KilogramForceCentimetersPerMeterTolerance),
- TorquePerLengthUnit.KilogramForceMeterPerMeter => (KilogramForceMetersPerMeterInOneNewtonMeterPerMeter, KilogramForceMetersPerMeterTolerance),
- TorquePerLengthUnit.KilogramForceMillimeterPerMeter => (KilogramForceMillimetersPerMeterInOneNewtonMeterPerMeter, KilogramForceMillimetersPerMeterTolerance),
- TorquePerLengthUnit.KilonewtonCentimeterPerMeter => (KilonewtonCentimetersPerMeterInOneNewtonMeterPerMeter, KilonewtonCentimetersPerMeterTolerance),
- TorquePerLengthUnit.KilonewtonMeterPerMeter => (KilonewtonMetersPerMeterInOneNewtonMeterPerMeter, KilonewtonMetersPerMeterTolerance),
- TorquePerLengthUnit.KilonewtonMillimeterPerMeter => (KilonewtonMillimetersPerMeterInOneNewtonMeterPerMeter, KilonewtonMillimetersPerMeterTolerance),
- TorquePerLengthUnit.KilopoundForceFootPerFoot => (KilopoundForceFeetPerFootInOneNewtonMeterPerMeter, KilopoundForceFeetPerFootTolerance),
- TorquePerLengthUnit.KilopoundForceInchPerFoot => (KilopoundForceInchesPerFootInOneNewtonMeterPerMeter, KilopoundForceInchesPerFootTolerance),
- TorquePerLengthUnit.MeganewtonCentimeterPerMeter => (MeganewtonCentimetersPerMeterInOneNewtonMeterPerMeter, MeganewtonCentimetersPerMeterTolerance),
- TorquePerLengthUnit.MeganewtonMeterPerMeter => (MeganewtonMetersPerMeterInOneNewtonMeterPerMeter, MeganewtonMetersPerMeterTolerance),
- TorquePerLengthUnit.MeganewtonMillimeterPerMeter => (MeganewtonMillimetersPerMeterInOneNewtonMeterPerMeter, MeganewtonMillimetersPerMeterTolerance),
- TorquePerLengthUnit.MegapoundForceFootPerFoot => (MegapoundForceFeetPerFootInOneNewtonMeterPerMeter, MegapoundForceFeetPerFootTolerance),
- TorquePerLengthUnit.MegapoundForceInchPerFoot => (MegapoundForceInchesPerFootInOneNewtonMeterPerMeter, MegapoundForceInchesPerFootTolerance),
- TorquePerLengthUnit.NewtonCentimeterPerMeter => (NewtonCentimetersPerMeterInOneNewtonMeterPerMeter, NewtonCentimetersPerMeterTolerance),
- TorquePerLengthUnit.NewtonMeterPerMeter => (NewtonMetersPerMeterInOneNewtonMeterPerMeter, NewtonMetersPerMeterTolerance),
- TorquePerLengthUnit.NewtonMillimeterPerMeter => (NewtonMillimetersPerMeterInOneNewtonMeterPerMeter, NewtonMillimetersPerMeterTolerance),
- TorquePerLengthUnit.PoundForceFootPerFoot => (PoundForceFeetPerFootInOneNewtonMeterPerMeter, PoundForceFeetPerFootTolerance),
- TorquePerLengthUnit.PoundForceInchPerFoot => (PoundForceInchesPerFootInOneNewtonMeterPerMeter, PoundForceInchesPerFootTolerance),
- TorquePerLengthUnit.TonneForceCentimeterPerMeter => (TonneForceCentimetersPerMeterInOneNewtonMeterPerMeter, TonneForceCentimetersPerMeterTolerance),
- TorquePerLengthUnit.TonneForceMeterPerMeter => (TonneForceMetersPerMeterInOneNewtonMeterPerMeter, TonneForceMetersPerMeterTolerance),
- TorquePerLengthUnit.TonneForceMillimeterPerMeter => (TonneForceMillimetersPerMeterInOneNewtonMeterPerMeter, TonneForceMillimetersPerMeterTolerance),
- _ => throw new NotSupportedException()
- };
- }
-
- public static IEnumerable