public override int GetHashCode() { unchecked { var hashCode = MaxAttempts; hashCode = (hashCode * 397) ^ AttemptTimeout.GetHashCode(); hashCode = (hashCode * 397) ^ AttemptDelay.GetHashCode(); return(hashCode); } }
protected bool Equals(RetryStrategy other) { return(MaxAttempts == other.MaxAttempts && AttemptTimeout.Equals(other.AttemptTimeout) && AttemptDelay.Equals(other.AttemptDelay)); }