1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:38:47 +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> /// </summary>
/// <param name="value">The boolean.</param> /// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</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) public static bool And(this bool value, bool comparison)
{ {
return value && comparison; return value && comparison;
@ -22,7 +23,8 @@
/// </summary> /// </summary>
/// <param name="value">The boolean.</param> /// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</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) public static bool NAnd(this bool value, bool comparison)
{ {
return !(value && comparison); return !(value && comparison);
@ -33,7 +35,8 @@
/// </summary> /// </summary>
/// <param name="value">The boolean.</param> /// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</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) public static bool NOr(this bool value, bool comparison)
{ {
return !(value || comparison); return !(value || comparison);
@ -54,7 +57,8 @@
/// </summary> /// </summary>
/// <param name="value">The boolean.</param> /// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</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) public static bool Or(this bool value, bool comparison)
{ {
return value || comparison; return value || comparison;
@ -85,7 +89,8 @@
/// </summary> /// </summary>
/// <param name="value">The boolean.</param> /// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</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) public static bool XNOr(this bool value, bool comparison)
{ {
return !(value ^ comparison); return !(value ^ comparison);
@ -96,7 +101,9 @@
/// </summary> /// </summary>
/// <param name="value">The boolean.</param> /// <param name="value">The boolean.</param>
/// <param name="comparison">The boolean comparator.</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) public static bool XOr(this bool value, bool comparison)
{ {
return value ^ comparison; return value ^ comparison;