[ci skip] Remove trailing whitespaces

This commit is contained in:
Oliver Booth 2022-04-21 19:53:59 +01:00
parent 72ff35ddca
commit 20c438b807
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
8 changed files with 28 additions and 28 deletions

View File

@ -14,14 +14,14 @@ public static class BooleanExtensions
/// The following example converts the bit patterns of <see cref="bool" /> values to <see cref="byte" /> arrays.
/// <code lang="csharp">
/// bool[] values = { true, false };
///
///
/// Console.WriteLine("{0,10}{1,16}\n", "Boolean", "Bytes");
/// foreach (var value in values)
/// {
/// byte[] bytes = value.GetBytes();
/// Console.WriteLine("{0,10}{1,16}", value, bytes.AsString());
/// }
///
///
/// // The example displays the following output:
/// // Boolean Bytes
/// //

View File

@ -27,16 +27,16 @@ public static class ComparableExtensions
/// <code lang="csharp">
/// int firstValue = 42;
/// int secondValue = 15;
///
///
/// int lower = 0;
/// int upper = 20;
///
///
/// Console.WriteLine($"{firstValue} between {lower} and {upper}?");
/// Console.WriteLine(firstValue.Between(lower, upper));
///
///
/// Console.WriteLine($"{secondValue} between {lower} and {upper}?");
/// Console.WriteLine(secondValue.Between(lower, upper));
///
///
/// // This will output the following:
/// // 42 between 0 and 20?
/// // False
@ -93,7 +93,7 @@ public static class ComparableExtensions
/// int value = 42;
/// int lower = 0;
/// int upper = 20;
///
///
/// int clamped = value.Clamp(lower, upper);
/// // clamped will be 20
/// </code>
@ -127,7 +127,7 @@ public static class ComparableExtensions
/// <code lang="csharp">
/// int first = 5;
/// int second = 10;
///
///
/// bool result = first.GreaterThan(second);
/// // result will be False
/// </code>
@ -159,7 +159,7 @@ public static class ComparableExtensions
/// <code lang="csharp">
/// int first = 5;
/// int second = 10;
///
///
/// bool result = first.GreaterThanOrEqualTo(second);
/// // result will be False
/// </code>
@ -191,7 +191,7 @@ public static class ComparableExtensions
/// <code lang="csharp">
/// int first = 5;
/// int second = 10;
///
///
/// bool result = first.LessThan(second);
/// // result will be True
/// </code>
@ -223,7 +223,7 @@ public static class ComparableExtensions
/// <code lang="csharp">
/// int first = 5;
/// int second = 10;
///
///
/// bool result = first.LessThanOrEqualTo(second);
/// // result will be True
/// </code>
@ -254,7 +254,7 @@ public static class ComparableExtensions
/// <code lang="csharp">
/// int first = 5;
/// int second = 10;
///
///
/// int max = first.Max(second);
/// // max will be 10
/// </code>
@ -285,7 +285,7 @@ public static class ComparableExtensions
/// <code lang="csharp">
/// int first = 5;
/// int second = 10;
///
///
/// int min = first.Min(second);
/// // min will be 5
/// </code>

View File

@ -7,22 +7,22 @@
public enum InclusiveOptions : byte
{
/// <summary>
/// Indicates that the comparison will be exclusive.
/// Indicates that the comparison will be exclusive.
/// </summary>
None = 0,
/// <summary>
/// Indicates that the comparison will treat the upper bound as exclusive.
/// Indicates that the comparison will treat the upper bound as exclusive.
/// </summary>
UpperInclusive = 1,
/// <summary>
/// Indicates that the comparison will treat the lower bound as exclusive.
/// Indicates that the comparison will treat the lower bound as exclusive.
/// </summary>
LowerInclusive = 1 << 1,
/// <summary>
/// Indicates that the comparison will treat both the upper and lower bound as exclusive.
/// Indicates that the comparison will treat both the upper and lower bound as exclusive.
/// </summary>
Inclusive = UpperInclusive | LowerInclusive
}

View File

@ -6,7 +6,7 @@
public static class EnumExtensions
{
/// <summary>
/// Returns the value which is defined proceeding this value in the enumeration.
/// Returns the value which is defined proceeding this value in the enumeration.
/// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose proceeding value to retrieve.</param>
@ -24,7 +24,7 @@ public static class EnumExtensions
}
/// <summary>
/// Returns the value which is defined proceeding this value in the enumeration.
/// Returns the value which is defined proceeding this value in the enumeration.
/// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose proceeding value to retrieve.</param>
@ -42,7 +42,7 @@ public static class EnumExtensions
}
/// <summary>
/// Returns the value which is defined preceeding this value in the enumeration.
/// Returns the value which is defined preceeding this value in the enumeration.
/// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose preceeding value to retrieve.</param>
@ -64,7 +64,7 @@ public static class EnumExtensions
}
/// <summary>
/// Returns the value which is defined preceeding this value in the enumeration.
/// Returns the value which is defined preceeding this value in the enumeration.
/// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose preceeding value to retrieve.</param>

View File

@ -11,7 +11,7 @@ public static partial class EnumerableExtensions
{
return source.Aggregate(1, (current, value) => current * value);
}
/// <summary>
/// Computes the product of a sequence of <see cref="uint" /> values.
/// </summary>

View File

@ -193,7 +193,7 @@ public static class Int16Extensions
}
/// <summary>
/// Performs a modulo operation which supports a negative dividend.
/// Performs a modulo operation which supports a negative dividend.
/// </summary>
/// <param name="dividend">The dividend.</param>
/// <param name="divisor">The divisor.</param>

View File

@ -245,7 +245,7 @@ public static class Int32Extensions
}
/// <summary>
/// Performs a modulo operation which supports a negative dividend.
/// Performs a modulo operation which supports a negative dividend.
/// </summary>
/// <param name="dividend">The dividend.</param>
/// <param name="divisor">The divisor.</param>

View File

@ -218,7 +218,7 @@ public static class Int64Extensions
}
/// <summary>
/// Performs a modulo operation which supports a negative dividend.
/// Performs a modulo operation which supports a negative dividend.
/// </summary>
/// <param name="dividend">The dividend.</param>
/// <param name="divisor">The divisor.</param>