Skip to content

Commit f69d534

Browse files
committed
Fix code generation
1 parent 621ac0e commit f69d534

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

UnitsNet/GeneratedCode/Quantity.g.cs

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

UnitsNet/Scripts/Include-GenerateStaticQuantitySourceCode.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ namespace UnitsNet
7272
/// </summary>
7373
/// <param name="value">Numeric value.</param>
7474
/// <param name="unit">Unit enum value.</param>
75+
/// <param name="quantity">The resulting quantity if successful, otherwise <c>default</c>.</param>
7576
/// <returns><c>True</c> if successful with <paramref name="quantity"/> assigned the value, otherwise <c>false</c>.</returns>
7677
public static bool TryFrom(QuantityValue value, Enum unit, out IQuantity quantity)
7778
{
@@ -115,6 +116,7 @@ namespace UnitsNet
115116
/// </summary>
116117
/// <param name="quantityType">Type of quantity, such as <see cref="Length"/>.</param>
117118
/// <param name="quantityString">Quantity string representation, such as "1.5 kg". Must be compatible with given quantity type.</param>
119+
/// <param name="quantity">The resulting quantity if successful, otherwise <c>default</c>.</param>
118120
/// <returns>The parsed quantity.</returns>
119121
public static bool TryParse(Type quantityType, string quantityString, out IQuantity quantity)
120122
{

0 commit comments

Comments
 (0)