Skip to content

Commit

Permalink
Added missing XML documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetlandj committed Oct 12, 2017
1 parent 7bc929f commit 1cd4c1b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Source/Platibus/Security/BasicAuthCredentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,27 @@ public override int GetHashCode()
}
}

/// <summary>
/// Determines equality of two <see cref="BasicAuthCredentials"/> objects based on
/// their respective values rather than reference
/// </summary>
/// <param name="left">The left operand</param>
/// <param name="right">The right operand</param>
/// <returns>Returns <c>true</c> if the left and right operands contain the same
/// values, <c>false</c> otherwise</returns>
public static bool operator ==(BasicAuthCredentials left, BasicAuthCredentials right)
{
return Equals(left, right);
}

/// <summary>
/// Determines inequality of two <see cref="BasicAuthCredentials"/> objects based on
/// their respective values rather than reference
/// </summary>
/// <param name="left">The left operand</param>
/// <param name="right">The right operand</param>
/// <returns>Returns <c>true</c> if the left and right operands contain different
/// values, <c>false</c> otherwise</returns>
public static bool operator !=(BasicAuthCredentials left, BasicAuthCredentials right)
{
return !Equals(left, right);
Expand Down

0 comments on commit 1cd4c1b

Please sign in to comment.