public override int GetHashCode() { unchecked { var hashCode = (PlaybackSettings != null ? PlaybackSettings.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ColorSettings != null ? ColorSettings.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DeviceSettings != null ? DeviceSettings.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (EffectPatterns != null ? EffectPatterns.GetHashCode() : 0); return(hashCode); } }
protected bool Equals(PlaybackSettings other) { return(SpeedModifier.Equals(other.SpeedModifier) && LeaveLightsOn == other.LeaveLightsOn); }