Пример #1
0
 public override int GetHashCode()
 {
     if (comparer == null)
     {
         comparer = ClaimComparer.GetComparer(claimType);
     }
     return(comparer.GetHashCode(this));
 }
Пример #2
0
 public override bool Equals(object obj)
 {
     if (comparer == null)
     {
         comparer = ClaimComparer.GetComparer(claimType);
     }
     return(comparer.Equals(this, obj as Claim));
 }