Browse Source

XML comment fixes.

pull/2629/head
José Pedro 7 years ago
parent
commit
39b19e8ff3
No known key found for this signature in database GPG Key ID: B8247B9301707B83
  1. 5
      src/Avalonia.Base/Utilities/MathUtilities.cs
  2. 8
      src/Avalonia.Controls/Grid.cs

5
src/Avalonia.Base/Utilities/MathUtilities.cs

@ -30,6 +30,7 @@ namespace Avalonia.Utilities
/// LessThan - Returns whether or not the first double is less than the second double. /// LessThan - Returns whether or not the first double is less than the second double.
/// That is, whether or not the first is strictly less than *and* not within epsilon of /// That is, whether or not the first is strictly less than *and* not within epsilon of
/// the other number. /// the other number.
/// </summary>
/// <param name="value1"> The first double to compare. </param> /// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param> /// <param name="value2"> The second double to compare. </param>
public static bool LessThan(double value1, double value2) public static bool LessThan(double value1, double value2)
@ -41,6 +42,7 @@ namespace Avalonia.Utilities
/// GreaterThan - Returns whether or not the first double is greater than the second double. /// GreaterThan - Returns whether or not the first double is greater than the second double.
/// That is, whether or not the first is strictly greater than *and* not within epsilon of /// That is, whether or not the first is strictly greater than *and* not within epsilon of
/// the other number. /// the other number.
/// </summary>
/// <param name="value1"> The first double to compare. </param> /// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param> /// <param name="value2"> The second double to compare. </param>
public static bool GreaterThan(double value1, double value2) public static bool GreaterThan(double value1, double value2)
@ -52,6 +54,7 @@ namespace Avalonia.Utilities
/// LessThanOrClose - Returns whether or not the first double is less than or close to /// LessThanOrClose - Returns whether or not the first double is less than or close to
/// the second double. That is, whether or not the first is strictly less than or within /// the second double. That is, whether or not the first is strictly less than or within
/// epsilon of the other number. /// epsilon of the other number.
/// </summary>
/// <param name="value1"> The first double to compare. </param> /// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param> /// <param name="value2"> The second double to compare. </param>
public static bool LessThanOrClose(double value1, double value2) public static bool LessThanOrClose(double value1, double value2)
@ -170,4 +173,4 @@ namespace Avalonia.Utilities
} }
} }
} }
} }

8
src/Avalonia.Controls/Grid.cs

@ -1969,7 +1969,7 @@ namespace Avalonia.Controls
/// </summary> /// </summary>
/// <param name="definitions">Array of definitions to process.</param> /// <param name="definitions">Array of definitions to process.</param>
/// <param name="finalSize">Final size to lay out to.</param> /// <param name="finalSize">Final size to lay out to.</param>
/// <param name="rows">True if sizing row definitions, false for columns</param> /// <param name="columns">True if sizing column definitions, false for rows</param>
private void SetFinalSize( private void SetFinalSize(
IReadOnlyList<DefinitionBase> definitions, IReadOnlyList<DefinitionBase> definitions,
double finalSize, double finalSize,
@ -2694,9 +2694,9 @@ namespace Avalonia.Controls
/// if the max constraint has higher discrepancy /// if the max constraint has higher discrepancy
/// null if proportion doesn't fail a min or max constraint /// null if proportion doesn't fail a min or max constraint
/// The discrepancy is the ratio of the proportion to the max- or min-ratio. /// The discrepancy is the ratio of the proportion to the max- or min-ratio.
/// When both ratios hit the constraint, minRatio < proportion < maxRatio, /// When both ratios hit the constraint, minRatio &lt; proportion &gt; maxRatio,
/// and the minRatio has higher discrepancy if /// and the minRatio has higher discrepancy if
/// (proportion / minRatio) > (maxRatio / proportion) /// (proportion / minRatio) &gt; (maxRatio / proportion)
/// </summary> /// </summary>
private static bool? Choose(double minRatio, double maxRatio, double proportion) private static bool? Choose(double minRatio, double maxRatio, double proportion)
{ {
@ -4063,4 +4063,4 @@ namespace Avalonia.Controls
private static readonly Pen _evenDashPen; // second pen to draw dash private static readonly Pen _evenDashPen; // second pen to draw dash
} }
} }
} }

Loading…
Cancel
Save