Merge branch 'master' into winui

This commit is contained in:
Alexandre Zollinger Chohfi 2021-04-06 09:23:40 -07:00
Родитель 852102c0f1 e1ddd52ce2
Коммит f164c96626
8 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -55,7 +55,7 @@ namespace CommunityToolkit.HighPerformance
/// <remarks>
/// This method doesn't do any bounds checks, therefore it is responsibility of the caller to ensure the <paramref name="i"/>
/// and <paramref name="j"/> parameters are valid. Furthermore, this extension will ignore the lower bounds for the input
/// array, and will just assume that the input index is 0-based. It is responsability of the caller to adjust the input
/// array, and will just assume that the input index is 0-based. It is responsibility of the caller to adjust the input
/// indices to account for the actual lower bounds, if the input array has either axis not starting at 0.
/// </remarks>
[Pure]

Просмотреть файл

@ -525,7 +525,7 @@ namespace CommunityToolkit.HighPerformance
/// <param name="width">The width of the 2D memory area to map.</param>
/// <param name="pitch">The pitch of the 2D memory area to map.</param>
/// <returns>A <see cref="Memory2D{T}"/> instance with the specified parameters.</returns>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsability of the caller to ensure it's valid.</remarks>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsibility of the caller to ensure it's valid.</remarks>
/// <exception cref="ArgumentOutOfRangeException">
/// Thrown when one of the input parameters is out of range.
/// </exception>

Просмотреть файл

@ -539,7 +539,7 @@ namespace CommunityToolkit.HighPerformance
/// <param name="width">The width of the 2D memory area to map.</param>
/// <param name="pitch">The pitch of the 2D memory area to map.</param>
/// <returns>A <see cref="ReadOnlyMemory2D{T}"/> instance with the specified parameters.</returns>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsability of the caller to ensure it's valid.</remarks>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsibility of the caller to ensure it's valid.</remarks>
/// <exception cref="ArgumentOutOfRangeException">
/// Thrown when one of the input parameters is out of range.
/// </exception>

Просмотреть файл

@ -111,7 +111,7 @@ namespace CommunityToolkit.Mvvm.Messaging
// Traverse all the existing conditional tables and remove all the ones
// with the target recipient as key. We don't perform a cleanup here,
// as that is responsability of a separate method defined below.
// as that is responsibility of a separate method defined below.
while (enumerator.MoveNext())
{
enumerator.Value.Remove(recipient);

Просмотреть файл

@ -199,7 +199,7 @@ namespace CommunityToolkit.WinUI.UI.Controls
}
else if (compare.GetType() == TargetType)
{
// If we have a TargetType and the first value is ther right type
// If we have a TargetType and the first value is the right type
// Then our 2nd value isn't, so convert to string and coerce.
var valueBase2 = ConvertValue(TargetType, value);

Просмотреть файл

@ -31,7 +31,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsCloseTo(this double value1, double value2)
{
@ -55,7 +55,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param>
/// <returns>
/// bool - the result of the LessThan comparision.
/// bool - the result of the LessThan comparison.
/// </returns>
public static bool IsLessThan(this double value1, double value2)
{
@ -68,7 +68,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param>
/// <returns>
/// bool - the result of the GreaterThan comparision.
/// bool - the result of the GreaterThan comparison.
/// </returns>
public static bool IsGreaterThan(this double value1, double value2)
{
@ -81,7 +81,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// </summary>
/// <param name="value"> The double to compare to 1. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsOne(this double value)
{
@ -94,7 +94,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// </summary>
/// <param name="value"> The double to compare to 0. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsZero(this double value)
{
@ -107,7 +107,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// <param name="value1"> The first float to compare. </param>
/// <param name="value2"> The second float to compare. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsCloseTo(this float value1, float value2)
{
@ -131,7 +131,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// <param name="value1"> The first float to compare. </param>
/// <param name="value2"> The second float to compare. </param>
/// <returns>
/// bool - the result of the LessThan comparision.
/// bool - the result of the LessThan comparison.
/// </returns>
public static bool IsLessThan(this float value1, float value2)
{
@ -144,7 +144,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// <param name="value1"> The first float to compare. </param>
/// <param name="value2"> The second float to compare. </param>
/// <returns>
/// bool - the result of the GreaterThan comparision.
/// bool - the result of the GreaterThan comparison.
/// </returns>
public static bool IsGreaterThan(this float value1, float value2)
{
@ -157,7 +157,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// </summary>
/// <param name="value"> The float to compare to 1. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsOne(this float value)
{
@ -170,7 +170,7 @@ namespace CommunityToolkit.WinUI.UI.Media.Geometry
/// </summary>
/// <param name="value"> The float to compare to 0. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsZero(this float value)
{

Просмотреть файл

@ -9,7 +9,7 @@ using Microsoft.System;
namespace CommunityToolkit.WinUI.UI
{
/// <summary>
/// Set of extention methods for using <see cref="DispatcherQueueTimer"/>.
/// Set of extension methods for using <see cref="DispatcherQueueTimer"/>.
/// </summary>
public static class DispatcherQueueTimerExtensions
{

Просмотреть файл

@ -694,7 +694,7 @@ namespace Microsoft.VisualStudio.TestTools.UnitTesting
}
/// <summary>
/// Invokes the memeber
/// Invokes the member
/// </summary>
/// <param name="name">Name of the member</param>
/// <param name="bindingFlags">Additional attributes</param>
@ -887,7 +887,7 @@ namespace Microsoft.VisualStudio.TestTools.UnitTesting
/// </summary>
/// <param name="m1">Method1</param>
/// <param name="m2">Method2</param>
/// <returns>True if they are similiar.</returns>
/// <returns>True if they are similar.</returns>
internal static bool CompareMethodSigAndName(MethodBase m1, MethodBase m2)
{
ParameterInfo[] params1 = m1.GetParameters();