1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 19:48:46 +00:00

🎨 Ensure line length does not exceed 120 chars

This commit is contained in:
Oliver Booth 2020-04-18 23:07:05 +01:00
parent 1bee1952f9
commit be5f450dbf
No known key found for this signature in database
GPG Key ID: 0D7F2EF1C8D2B9C0

View File

@ -11,7 +11,8 @@
/// </summary>
/// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</param>
/// <returns>Returns <see langword="true"/> when <paramref name="value"/> and <paramref name="comparison"/> are <see langword="true"/> Otherwise, the output is <see langword="false"/>.</returns>
/// <returns>Returns <see langword="true"/> when <paramref name="value"/> and <paramref name="comparison"/> are
/// <see langword="true"/> Otherwise, the output is <see langword="false"/>.</returns>
public static bool And(this bool value, bool comparison)
{
return value && comparison;
@ -22,7 +23,8 @@
/// </summary>
/// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</param>
/// <returns>Returns <see langword="false"/> if <paramref name="value"/> and <paramref name="comparison"/> are <see langword="true"/>. Otherwise, <see langword="true"/>.</returns>
/// <returns>Returns <see langword="false"/> if <paramref name="value"/> and <paramref name="comparison"/> are
/// <see langword="true"/>. Otherwise, <see langword="true"/>.</returns>
public static bool NAnd(this bool value, bool comparison)
{
return !(value && comparison);
@ -33,7 +35,8 @@
/// </summary>
/// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</param>
/// <returns>Returns <see langword="true"/> if <paramref name="value"/> and <paramref name="comparison"/> are <see langword="false"/>. Otherwise, <see langword="false"/>.</returns>
/// <returns>Returns <see langword="true"/> if <paramref name="value"/> and <paramref name="comparison"/> are
/// <see langword="false"/>. Otherwise, <see langword="false"/>.</returns>
public static bool NOr(this bool value, bool comparison)
{
return !(value || comparison);
@ -54,7 +57,8 @@
/// </summary>
/// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</param>
/// <returns>Returns <see langword="true"/> if <paramref name="value"/> or <paramref name="comparison"/> is <see langword="true"/>.</returns>
/// <returns>Returns <see langword="true"/> if <paramref name="value"/> or <paramref name="comparison"/> is
/// <see langword="true"/>.</returns>
public static bool Or(this bool value, bool comparison)
{
return value || comparison;
@ -85,7 +89,8 @@
/// </summary>
/// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</param>
/// <returns>Returns <see langword="true"/> if <paramref name="value"/> and <paramref name="comparison"/> are the same, Otherwise <see langword="false"/>.</returns>
/// <returns>Returns <see langword="true"/> if <paramref name="value"/> and <paramref name="comparison"/> are
/// the same, Otherwise <see langword="false"/>.</returns>
public static bool XNOr(this bool value, bool comparison)
{
return !(value ^ comparison);
@ -96,7 +101,9 @@
/// </summary>
/// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</param>
/// <returns>Returns <see langword="false"/> if <paramref name="value"/> and <paramref name="comparison"/> are <see langword="false"/> or if <paramref name="value"/> and <paramref name="comparison"/> are <see langword="true"/>.</returns>
/// <returns>Returns <see langword="false"/> if <paramref name="value"/> and <paramref name="comparison"/> are
/// <see langword="false"/> or if <paramref name="value"/> and <paramref name="comparison"/> are
/// <see langword="true"/>.</returns>
public static bool XOr(this bool value, bool comparison)
{
return value ^ comparison;