Skip to content

Commit 1b3647f

Browse files
committed
nano: ✏️ Fix xmldoc of MaxValue, MinValue
1 parent 3a2a6e8 commit 1b3647f

File tree

125 files changed

+623
-623
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+623
-623
lines changed

CodeGen/Generators/NanoFrameworkGen/QuantityGenerator.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,20 @@ public struct {_quantity.Name}
7373
}}
7474
7575
/// <summary>
76-
/// The base unit of Duration, which is Second. All conversions go via this value.
76+
/// The base unit of {_quantity.Name}, which is Second. All conversions go via this value.
7777
/// </summary>
7878
public static {_unitEnumName} BaseUnit {{ get; }} = {_unitEnumName}.{_quantity.BaseUnit};
7979
8080
/// <summary>
81-
/// Represents the largest possible value of Duration
81+
/// Represents the largest possible value of {_quantity.Name}.
8282
/// </summary>");
8383

8484
// Non decimal
8585
Writer.WLCondition(_quantity.ValueType != "decimal", $@"
8686
public static {_quantity.Name} MaxValue {{ get; }} = new {_quantity.Name}({_quantity.ValueType}.MaxValue, BaseUnit);
8787
8888
/// <summary>
89-
/// Represents the smallest possible value of Duration
89+
/// Represents the smallest possible value of {_quantity.Name}.
9090
/// </summary>
9191
public static {_quantity.Name} MinValue {{ get; }} = new {_quantity.Name}({_quantity.ValueType}.MinValue, BaseUnit);
9292
");
@@ -96,7 +96,7 @@ public struct {_quantity.Name}
9696
public static {_quantity.Name} MaxValue {{ get; }} = new {_quantity.Name}(79228162514264337593543950335M, BaseUnit);
9797
9898
/// <summary>
99-
/// Represents the smallest possible value of Duration
99+
/// Represents the smallest possible value of {_quantity.Name}.
100100
/// </summary>
101101
public static {_quantity.Name} MinValue {{ get; }} = new {_quantity.Name}(-79228162514264337593543950335M, BaseUnit);
102102
");
@@ -193,9 +193,9 @@ private void GenerateConversionMethods()
193193
public {_quantity.ValueType} As({_unitEnumName} unit) => GetValueAs(unit);
194194
195195
/// <summary>
196-
/// Converts this Duration to another Duration with the unit representation <paramref name=""unit"" />.
196+
/// Converts this {_quantity.Name} to another {_quantity.Name} with the unit representation <paramref name=""unit"" />.
197197
/// </summary>
198-
/// <returns>A Duration with the specified unit.</returns>
198+
/// <returns>A {_quantity.Name} with the specified unit.</returns>
199199
public {_quantity.Name} ToUnit({_unitEnumName} unit)
200200
{{
201201
var convertedValue = GetValueAs(unit);

UnitsNet.NanoFramework/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/Acceleration.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/AmountOfSubstance.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/AmplitudeRatio.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/Angle.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentEnergy.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentPower.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/Area.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/AreaDensity.g.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)