public bool Equals(RateLimitChangedNotification other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (OldLocalRateLimit.Equals(other.OldLocalRateLimit) && NewLocalRateLimit.Equals(other.NewLocalRateLimit) && OldGlobalRateLimit.Equals(other.OldGlobalRateLimit) && NewGlobalRateLimit.Equals(other.NewGlobalRateLimit)); }
public bool Equals(RateLimitChangedNotification <TK> other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (EqualityComparer <TK> .Default.Equals(Key, other.Key) && OldLocalRateLimit.Equals(other.OldLocalRateLimit) && NewLocalRateLimit.Equals(other.NewLocalRateLimit) && OldGlobalRateLimit.Equals(other.OldGlobalRateLimit) && NewGlobalRateLimit.Equals(other.NewGlobalRateLimit)); }