From b3f04ec5b808d2f0abe29e5206349b5c42ebe984 Mon Sep 17 00:00:00 2001 From: Andreas Gullberg Larsen Date: Sat, 28 Dec 2024 12:35:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9AFix=20nanoFramework=20build,=20repl?= =?UTF-8?q?ace=20=20with=20=20in=20xmldoc=20(#1478)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression in #1444 nanoFramework is built differently and each quantity is its own assembly, with no reference to other quantities. This gave a build warning, that is treated as build error. --- Common/UnitDefinitions/ApparentEnergy.json | 2 +- Common/UnitDefinitions/ApparentPower.json | 2 +- Common/UnitDefinitions/Capacitance.json | 2 +- Common/UnitDefinitions/ElectricCurrent.json | 2 +- Common/UnitDefinitions/ElectricPotential.json | 2 +- Common/UnitDefinitions/ElectricPotentialAc.json | 2 +- Common/UnitDefinitions/ElectricPotentialDc.json | 2 +- Common/UnitDefinitions/ReactiveEnergy.json | 2 +- Common/UnitDefinitions/ReactivePower.json | 2 +- .../GeneratedCode/Quantities/ApparentEnergy.g.cs | 2 +- .../GeneratedCode/Quantities/ApparentPower.g.cs | 2 +- .../GeneratedCode/Quantities/Capacitance.g.cs | 2 +- .../GeneratedCode/Quantities/ElectricCurrent.g.cs | 2 +- .../GeneratedCode/Quantities/ElectricPotential.g.cs | 2 +- .../GeneratedCode/Quantities/ElectricPotentialAc.g.cs | 2 +- .../GeneratedCode/Quantities/ElectricPotentialDc.g.cs | 2 +- .../GeneratedCode/Quantities/ReactiveEnergy.g.cs | 2 +- .../GeneratedCode/Quantities/ReactivePower.g.cs | 2 +- UnitsNet.WindowsRuntimeComponent.sln.DotSettings | 8 -------- UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs | 2 +- .../GeneratedCode/Quantities/ElectricPotentialAc.g.cs | 2 +- .../GeneratedCode/Quantities/ElectricPotentialDc.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs | 2 +- UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs | 2 +- 28 files changed, 27 insertions(+), 35 deletions(-) delete mode 100644 UnitsNet.WindowsRuntimeComponent.sln.DotSettings diff --git a/Common/UnitDefinitions/ApparentEnergy.json b/Common/UnitDefinitions/ApparentEnergy.json index b9c3c4a874..7f588de3eb 100644 --- a/Common/UnitDefinitions/ApparentEnergy.json +++ b/Common/UnitDefinitions/ApparentEnergy.json @@ -2,7 +2,7 @@ "Name": "ApparentEnergy", "BaseUnit": "VoltampereHour", "XmlDocSummary": "A unit for expressing the integral of apparent power over time, equal to the product of 1 volt-ampere and 1 hour, or to 3600 joules.", - "XmlDocRemarks": " has been renamed to , and will be removed in a later major version.", + "XmlDocRemarks": "ApparentEnergy has been renamed to ElectricApparentEnergy, and will be removed in a later major version.", "ObsoleteText": "ApparentEnergy has been renamed to ElectricApparentEnergy, and will be removed in a later major version.", "BaseDimensions": { "L": 2, diff --git a/Common/UnitDefinitions/ApparentPower.json b/Common/UnitDefinitions/ApparentPower.json index 631d1285b8..4aebda1a1c 100644 --- a/Common/UnitDefinitions/ApparentPower.json +++ b/Common/UnitDefinitions/ApparentPower.json @@ -2,7 +2,7 @@ "Name": "ApparentPower", "BaseUnit": "Voltampere", "XmlDocSummary": "Power engineers measure apparent power as the magnitude of the vector sum of active and reactive power. Apparent power is the product of the root-mean-square of voltage and current.", - "XmlDocRemarks": " has been renamed to , and will be removed in a later major version.", + "XmlDocRemarks": "ApparentPower has been renamed to ElectricApparentPower, and will be removed in a later major version.", "ObsoleteText": "ApparentPower has been renamed to ElectricApparentPower, and will be removed in a later major version.", "BaseDimensions": { "L": 2, diff --git a/Common/UnitDefinitions/Capacitance.json b/Common/UnitDefinitions/Capacitance.json index edf2c68aa7..d2f0a0bd5f 100644 --- a/Common/UnitDefinitions/Capacitance.json +++ b/Common/UnitDefinitions/Capacitance.json @@ -2,7 +2,7 @@ "Name": "Capacitance", "BaseUnit": "Farad", "XmlDocSummary": "Capacitance is the ability of a body to store an electric charge.", - "XmlDocRemarks": " has been renamed to , and will be removed in a later major version.", + "XmlDocRemarks": "Capacitance has been renamed to ElectricCapacitance, and will be removed in a later major version.", "ObsoleteText": "Capacitance has been renamed to ElectricCapacitance, and will be removed in a later major version.", "BaseDimensions": { "L": -2, diff --git a/Common/UnitDefinitions/ElectricCurrent.json b/Common/UnitDefinitions/ElectricCurrent.json index 8d3478b785..1f6dec1b32 100644 --- a/Common/UnitDefinitions/ElectricCurrent.json +++ b/Common/UnitDefinitions/ElectricCurrent.json @@ -2,7 +2,7 @@ "Name": "ElectricCurrent", "BaseUnit": "Ampere", "XmlDocSummary": "An electric current is a flow of electric charge. In electric circuits this charge is often carried by moving electrons in a wire. It can also be carried by ions in an electrolyte, or by both ions and electrons such as in a plasma.", - "XmlDocRemarks": "If you want to map more parameters into the class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", + "XmlDocRemarks": "If you want to map more parameters into the ElectricCurrent class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", "BaseDimensions": { "I": 1 }, diff --git a/Common/UnitDefinitions/ElectricPotential.json b/Common/UnitDefinitions/ElectricPotential.json index ebeb84cbe9..d173259475 100644 --- a/Common/UnitDefinitions/ElectricPotential.json +++ b/Common/UnitDefinitions/ElectricPotential.json @@ -2,7 +2,7 @@ "Name": "ElectricPotential", "BaseUnit": "Volt", "XmlDocSummary": "In classical electromagnetism, the electric potential (a scalar quantity denoted by Φ, ΦE or V and also called the electric field potential or the electrostatic potential) at a point is the amount of electric potential energy that a unitary point charge would have when located at that point.", - "XmlDocRemarks": "If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", + "XmlDocRemarks": "If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", "BaseDimensions": { "L": 2, "M": 1, diff --git a/Common/UnitDefinitions/ElectricPotentialAc.json b/Common/UnitDefinitions/ElectricPotentialAc.json index caf720eb5e..d1f24e7306 100644 --- a/Common/UnitDefinitions/ElectricPotentialAc.json +++ b/Common/UnitDefinitions/ElectricPotentialAc.json @@ -2,7 +2,7 @@ "Name": "ElectricPotentialAc", "BaseUnit": "VoltAc", "XmlDocSummary": "The Electric Potential of a system known to use Alternating Current.", - "XmlDocRemarks": " has been merged into , and will be removed in a later major version. If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", + "XmlDocRemarks": "ElectricPotentialAc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", "ObsoleteText": "ElectricPotentialAc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", "Units": [ { diff --git a/Common/UnitDefinitions/ElectricPotentialDc.json b/Common/UnitDefinitions/ElectricPotentialDc.json index 20c268e91f..a79efda133 100644 --- a/Common/UnitDefinitions/ElectricPotentialDc.json +++ b/Common/UnitDefinitions/ElectricPotentialDc.json @@ -2,7 +2,7 @@ "Name": "ElectricPotentialDc", "BaseUnit": "VoltDc", "XmlDocSummary": "The Electric Potential of a system known to use Direct Current.", - "XmlDocRemarks": " has been merged into , and will be removed in a later major version. If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", + "XmlDocRemarks": "ElectricPotentialDc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", "ObsoleteText": "ElectricPotentialDc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.", "Units": [ { diff --git a/Common/UnitDefinitions/ReactiveEnergy.json b/Common/UnitDefinitions/ReactiveEnergy.json index 5e7f49cd60..89a648ccc9 100644 --- a/Common/UnitDefinitions/ReactiveEnergy.json +++ b/Common/UnitDefinitions/ReactiveEnergy.json @@ -2,7 +2,7 @@ "Name": "ReactiveEnergy", "BaseUnit": "VoltampereReactiveHour", "XmlDocSummary": "The Volt-ampere reactive hour (expressed as varh) is the reactive power of one Volt-ampere reactive produced in one hour.", - "XmlDocRemarks": " has been renamed to , and will be removed in a later major version.", + "XmlDocRemarks": "ReactiveEnergy has been renamed to ElectricReactiveEnergy, and will be removed in a later major version.", "ObsoleteText": "ReactiveEnergy has been renamed to ElectricReactiveEnergy, and will be removed in a later major version.", "BaseDimensions": { "L": 2, diff --git a/Common/UnitDefinitions/ReactivePower.json b/Common/UnitDefinitions/ReactivePower.json index 39f43500e2..48a84dd22d 100644 --- a/Common/UnitDefinitions/ReactivePower.json +++ b/Common/UnitDefinitions/ReactivePower.json @@ -2,7 +2,7 @@ "Name": "ReactivePower", "BaseUnit": "VoltampereReactive", "XmlDocSummary": "Volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power exists in an AC circuit when the current and voltage are not in phase.", - "XmlDocRemarks": " has been renamed to , and will be removed in a later major version.", + "XmlDocRemarks": "ReactivePower has been renamed to ElectricReactivePower, and will be removed in a later major version.", "ObsoleteText": "ReactivePower has been renamed to ElectricReactivePower, and will be removed in a later major version.", "BaseDimensions": { "L": 2, diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentEnergy.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentEnergy.g.cs index 5c8c79aeea..6da6fa1ecd 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentEnergy.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentEnergy.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// A unit for expressing the integral of apparent power over time, equal to the product of 1 volt-ampere and 1 hour, or to 3600 joules. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ApparentEnergy has been renamed to ElectricApparentEnergy, and will be removed in a later major version. /// [Obsolete("ApparentEnergy has been renamed to ElectricApparentEnergy, and will be removed in a later major version.")] public struct ApparentEnergy diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentPower.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentPower.g.cs index 4ee15e6546..fd5e587ec3 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentPower.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentPower.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// Power engineers measure apparent power as the magnitude of the vector sum of active and reactive power. Apparent power is the product of the root-mean-square of voltage and current. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ApparentPower has been renamed to ElectricApparentPower, and will be removed in a later major version. /// [Obsolete("ApparentPower has been renamed to ElectricApparentPower, and will be removed in a later major version.")] public struct ApparentPower diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Capacitance.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Capacitance.g.cs index 87626574c1..cb6ea25ae0 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Capacitance.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Capacitance.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// Capacitance is the ability of a body to store an electric charge. /// /// - /// has been renamed to , and will be removed in a later major version. + /// Capacitance has been renamed to ElectricCapacitance, and will be removed in a later major version. /// [Obsolete("Capacitance has been renamed to ElectricCapacitance, and will be removed in a later major version.")] public struct Capacitance diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrent.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrent.g.cs index 7e424fae69..43c4356bce 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrent.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrent.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// An electric current is a flow of electric charge. In electric circuits this charge is often carried by moving electrons in a wire. It can also be carried by ions in an electrolyte, or by both ions and electrons such as in a plasma. /// /// - /// If you want to map more parameters into the class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// If you want to map more parameters into the ElectricCurrent class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// public struct ElectricCurrent { diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotential.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotential.g.cs index d42d6c732f..1ebad966a8 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotential.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotential.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// In classical electromagnetism, the electric potential (a scalar quantity denoted by Φ, ΦE or V and also called the electric field potential or the electrostatic potential) at a point is the amount of electric potential energy that a unitary point charge would have when located at that point. /// /// - /// If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// public struct ElectricPotential { diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialAc.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialAc.g.cs index 0a2885533c..2591d57695 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialAc.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialAc.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// The Electric Potential of a system known to use Alternating Current. /// /// - /// has been merged into , and will be removed in a later major version. If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// ElectricPotentialAc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// [Obsolete("ElectricPotentialAc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.")] public struct ElectricPotentialAc diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialDc.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialDc.g.cs index 0fc2fcadd5..5328ef7ab0 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialDc.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialDc.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// The Electric Potential of a system known to use Direct Current. /// /// - /// has been merged into , and will be removed in a later major version. If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// ElectricPotentialDc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// [Obsolete("ElectricPotentialDc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.")] public struct ElectricPotentialDc diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactiveEnergy.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactiveEnergy.g.cs index 36b6e795e7..e5038aede0 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactiveEnergy.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactiveEnergy.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// The Volt-ampere reactive hour (expressed as varh) is the reactive power of one Volt-ampere reactive produced in one hour. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ReactiveEnergy has been renamed to ElectricReactiveEnergy, and will be removed in a later major version. /// [Obsolete("ReactiveEnergy has been renamed to ElectricReactiveEnergy, and will be removed in a later major version.")] public struct ReactiveEnergy diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactivePower.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactivePower.g.cs index 29dd5b7e1c..7867e37e9e 100644 --- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactivePower.g.cs +++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactivePower.g.cs @@ -27,7 +27,7 @@ namespace UnitsNet /// Volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power exists in an AC circuit when the current and voltage are not in phase. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ReactivePower has been renamed to ElectricReactivePower, and will be removed in a later major version. /// [Obsolete("ReactivePower has been renamed to ElectricReactivePower, and will be removed in a later major version.")] public struct ReactivePower diff --git a/UnitsNet.WindowsRuntimeComponent.sln.DotSettings b/UnitsNet.WindowsRuntimeComponent.sln.DotSettings deleted file mode 100644 index 0d4d747cc0..0000000000 --- a/UnitsNet.WindowsRuntimeComponent.sln.DotSettings +++ /dev/null @@ -1,8 +0,0 @@ - - True - <?xml version="1.0" encoding="utf-16"?><Profile name="Full"><CSUseVar><BehavourStyle>CAN_CHANGE_BOTH</BehavourStyle><LocalVariableStyle>IMPLICIT_WHEN_INITIALIZER_HAS_TYPE</LocalVariableStyle><ForeachVariableStyle>ALWAYS_EXPLICIT</ForeachVariableStyle></CSUseVar><CSUpdateFileHeader>True</CSUpdateFileHeader><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSShortenReferences>True</CSShortenReferences><CSReformatCode>True</CSReformatCode><CSharpFormatDocComments>True</CSharpFormatDocComments><CSReorderTypeMembers>True</CSReorderTypeMembers><CSRemoveCodeRedundancies>True</CSRemoveCodeRedundancies><AspOptimizeRegisterDirectives>True</AspOptimizeRegisterDirectives><HtmlReformatCode>True</HtmlReformatCode><CSArrangeThisQualifier>True</CSArrangeThisQualifier><RemoveCodeRedundancies>True</RemoveCodeRedundancies><CSUseAutoProperty>True</CSUseAutoProperty><CSMakeFieldReadonly>True</CSMakeFieldReadonly><JsInsertSemicolon>True</JsInsertSemicolon><JsReformatCode>True</JsReformatCode><JsFormatDocComments>True</JsFormatDocComments><CssAlphabetizeProperties>True</CssAlphabetizeProperties><CssReformatCode>True</CssReformatCode><XMLReformatCode>True</XMLReformatCode><VBOptimizeImports>True</VBOptimizeImports><VBShortenReferences>True</VBShortenReferences><VBReformatCode>True</VBReformatCode><VBFormatDocComments>True</VBFormatDocComments></Profile> - UseVarWhenEvident - UseVarWhenEvident - UseVarWhenEvident - 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. - diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs index e745561223..b0c64210c2 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// A unit for expressing the integral of apparent power over time, equal to the product of 1 volt-ampere and 1 hour, or to 3600 joules. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ApparentEnergy has been renamed to ElectricApparentEnergy, and will be removed in a later major version. /// [Obsolete("ApparentEnergy has been renamed to ElectricApparentEnergy, and will be removed in a later major version.")] [DataContract] diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs index 0ba3fd958b..ffeae5c807 100644 --- a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// Power engineers measure apparent power as the magnitude of the vector sum of active and reactive power. Apparent power is the product of the root-mean-square of voltage and current. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ApparentPower has been renamed to ElectricApparentPower, and will be removed in a later major version. /// [Obsolete("ApparentPower has been renamed to ElectricApparentPower, and will be removed in a later major version.")] [DataContract] diff --git a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs index 41069db34b..57ebccf999 100644 --- a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// Capacitance is the ability of a body to store an electric charge. /// /// - /// has been renamed to , and will be removed in a later major version. + /// Capacitance has been renamed to ElectricCapacitance, and will be removed in a later major version. /// [Obsolete("Capacitance has been renamed to ElectricCapacitance, and will be removed in a later major version.")] [DataContract] diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs index 08afdd2dca..a52250ac77 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// An electric current is a flow of electric charge. In electric circuits this charge is often carried by moving electrons in a wire. It can also be carried by ions in an electrolyte, or by both ions and electrons such as in a plasma. /// /// - /// If you want to map more parameters into the class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// If you want to map more parameters into the ElectricCurrent class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// [DataContract] [DebuggerTypeProxy(typeof(QuantityDisplay))] diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs index 29371f39b9..7774d753cf 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// In classical electromagnetism, the electric potential (a scalar quantity denoted by Φ, ΦE or V and also called the electric field potential or the electrostatic potential) at a point is the amount of electric potential energy that a unitary point charge would have when located at that point. /// /// - /// If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// [DataContract] [DebuggerTypeProxy(typeof(QuantityDisplay))] diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs index 3448c8f4c2..3a5d9d72ac 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// The Electric Potential of a system known to use Alternating Current. /// /// - /// has been merged into , and will be removed in a later major version. If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// ElectricPotentialAc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// [Obsolete("ElectricPotentialAc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.")] [DataContract] diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs index 84fa2757a9..ebe91d26e8 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// The Electric Potential of a system known to use Direct Current. /// /// - /// has been merged into , and will be removed in a later major version. If you want to map more parameters into the class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. + /// ElectricPotentialDc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple. /// [Obsolete("ElectricPotentialDc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.")] [DataContract] diff --git a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs index f1cd559a42..6fe74d0bca 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// The Volt-ampere reactive hour (expressed as varh) is the reactive power of one Volt-ampere reactive produced in one hour. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ReactiveEnergy has been renamed to ElectricReactiveEnergy, and will be removed in a later major version. /// [Obsolete("ReactiveEnergy has been renamed to ElectricReactiveEnergy, and will be removed in a later major version.")] [DataContract] diff --git a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs index bab4ba953d..62d76f171f 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs @@ -37,7 +37,7 @@ namespace UnitsNet /// Volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power exists in an AC circuit when the current and voltage are not in phase. /// /// - /// has been renamed to , and will be removed in a later major version. + /// ReactivePower has been renamed to ElectricReactivePower, and will be removed in a later major version. /// [Obsolete("ReactivePower has been renamed to ElectricReactivePower, and will be removed in a later major version.")] [DataContract]