コード例 #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));
 }