mirror of
https://github.com/Stone-Red-Code/CuteUtils.git
synced 2026-09-04 00:46:11 +02:00
Fix multiple spelling mistakes and inconsistencies
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
namespace CuteUtils.Tests.Misc;
|
||||
|
||||
[TestClass]
|
||||
public class BoolExtentionsTests
|
||||
public class BoolExtensionsTests
|
||||
{
|
||||
[TestMethod]
|
||||
public void OneWayTrue_ShouldSetValueToTrue_WhenInputIsTrue()
|
||||
+1
-1
@@ -5,7 +5,7 @@ using System.Text;
|
||||
namespace CuteUtils.Tests.Misc;
|
||||
|
||||
[TestClass]
|
||||
public class CollectionExtentionsTests
|
||||
public class CollectionExtensionsTests
|
||||
{
|
||||
private StringBuilder consoleOutput = null!;
|
||||
|
||||
+8
-8
@@ -56,7 +56,7 @@ public static class DecimalFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the two nums
|
||||
/// Adds the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -67,7 +67,7 @@ public static class DecimalFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts the two nums
|
||||
/// Subtracts the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -78,7 +78,7 @@ public static class DecimalFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Multiples the two nums
|
||||
/// Multiples the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -89,7 +89,7 @@ public static class DecimalFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Divides the two nums
|
||||
/// Divides the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -136,15 +136,15 @@ public static class DecimalFluent
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Math.Round(decimal,int)"/>
|
||||
public static decimal Round(this decimal num, int digits)
|
||||
public static decimal Round(this decimal num, int decimals)
|
||||
{
|
||||
return Math.Round(num, digits);
|
||||
return Math.Round(num, decimals);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Math.Round(decimal,int,MidpointRounding)"/>
|
||||
public static decimal Round(this decimal num, int digits, MidpointRounding mode)
|
||||
public static decimal Round(this decimal num, int decimals, MidpointRounding mode)
|
||||
{
|
||||
return Math.Round(num, digits, mode);
|
||||
return Math.Round(num, decimals, mode);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Math.Sign(decimal)"/>
|
||||
+2
-2
@@ -190,9 +190,9 @@ public static class DoubleFluent
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Math.IEEERemainder(double,double)"/>
|
||||
public static double IEEERemainder(this double num, double valuee)
|
||||
public static double IEEERemainder(this double num, double value)
|
||||
{
|
||||
return Math.IEEERemainder(num, valuee);
|
||||
return Math.IEEERemainder(num, value);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Math.Log(double)"/>
|
||||
+4
-4
@@ -56,7 +56,7 @@ public static class Int16Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the two nums
|
||||
/// Adds the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -67,7 +67,7 @@ public static class Int16Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts the two nums
|
||||
/// Subtracts the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -78,7 +78,7 @@ public static class Int16Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Multiples the two nums
|
||||
/// Multiples the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -89,7 +89,7 @@ public static class Int16Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Divides the two nums
|
||||
/// Divides the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
+4
-4
@@ -56,7 +56,7 @@ public static class Int32Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the two nums
|
||||
/// Adds the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -67,7 +67,7 @@ public static class Int32Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts the two nums
|
||||
/// Subtracts the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -78,7 +78,7 @@ public static class Int32Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Multiples the two nums
|
||||
/// Multiples the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -89,7 +89,7 @@ public static class Int32Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Divides the two nums
|
||||
/// Divides the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
+5
-5
@@ -1,4 +1,4 @@
|
||||
namespace CuteUtils.FluentMath.TypeExtentions;
|
||||
namespace CuteUtils.FluentMath.TypeExtensions;
|
||||
|
||||
/// <summary>
|
||||
/// IntegerFluent class
|
||||
@@ -56,7 +56,7 @@ public static class Int64Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the two nums
|
||||
/// Adds the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -67,7 +67,7 @@ public static class Int64Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts the two nums
|
||||
/// Subtracts the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -78,7 +78,7 @@ public static class Int64Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Multiples the two nums
|
||||
/// Multiples the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -89,7 +89,7 @@ public static class Int64Fluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Divides the two nums
|
||||
/// Divides the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
+4
-4
@@ -56,7 +56,7 @@ public static class SingleFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the two nums
|
||||
/// Adds the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -67,7 +67,7 @@ public static class SingleFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts the two nums
|
||||
/// Subtracts the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -78,7 +78,7 @@ public static class SingleFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Multiples the two nums
|
||||
/// Multiples the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -89,7 +89,7 @@ public static class SingleFluent
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Divides the two nums
|
||||
/// Divides the two numbers
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <param name="value"></param>
|
||||
@@ -19,7 +19,7 @@ public class LogFormatBuilder
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="LogFormatBuilder"/> instance.
|
||||
/// </summary>
|
||||
/// <param name="value">The inital format.</param>
|
||||
/// <param name="value">The initial format.</param>
|
||||
public LogFormatBuilder(string value)
|
||||
{
|
||||
_ = stringBuilder.Append(value);
|
||||
@@ -55,7 +55,7 @@ public class LogFormatBuilder
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Appends the log datie time to the log format.
|
||||
/// Appends the log date time to the log format.
|
||||
/// </summary>
|
||||
/// <param name="format">The format to apply.</param>
|
||||
/// <param name="padding">The padding to apply.</param>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
|
||||
namespace CuteUtils;
|
||||
namespace CuteUtils.Misc;
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="string"/> Extensions
|
||||
+1
-1
@@ -5,7 +5,7 @@ namespace CuteUtils.Reflection;
|
||||
/// <summary>
|
||||
/// Provides extension methods for reflection operations.
|
||||
/// </summary>
|
||||
public static class ReflectionExtentions
|
||||
public static class ReflectionExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new instance of the specified type and copies the properties from the source object to the new instance.
|
||||
Reference in New Issue
Block a user