public override bool ContainsClaim(Claim claim) { if (claim == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("claim"); for (int i = 0; i < this.claims.Count; ++i) { if (claim.Equals(this.claims[i])) { return true; } } return false; }
public override bool ContainsClaim(Claim claim) { if (claim == null) { throw System.IdentityModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("claim"); } for (int i = 0; i < this.claims.Count; i++) { if (claim.Equals(this.claims[i])) { return(true); } } return(false); }
public override bool ContainsClaim(Claim claim) { if (claim == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("claim"); } for (int i = 0; i < _claims.Count; ++i) { if (claim.Equals(_claims[i])) { return(true); } } return(false); }