Class ClaimComparer
- Namespace
- Fdyay.IdentityServer.Models
- Assembly
- Fdyay.IdentityServer.Core.dll
Compares claims by type, value, and value type (ordinal).
public sealed class ClaimComparer : IEqualityComparer<Claim>
- Inheritance
-
ClaimComparer
- Implements
- Inherited Members
Methods
Equals(Claim?, Claim?)
Determines whether the specified objects are equal.
public bool Equals(Claim? x, Claim? y)
Parameters
Returns
GetHashCode(Claim)
Returns a hash code for the specified object.
public int GetHashCode(Claim obj)
Parameters
Returns
- int
A hash code for the specified object.
Exceptions
- ArgumentNullException
The type of
objis a reference type andobjis null.