/// <inheritdoc /> public override int GetHashCode() { unchecked { int hashCode = Mode.GetHashCode(); hashCode = (hashCode * 397) ^ WaitForSave.GetHashCode(); hashCode = (hashCode * 397) ^ SimulateDelay.GetHashCode(); hashCode = (hashCode * 397) ^ RequestRecordMode.GetHashCode(); hashCode = (hashCode * 397) ^ RequestPlaybackMode.GetHashCode(); return(hashCode); } }
/// <inheritdoc /> public bool Equals(CassetteOptions other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Mode == other.Mode && WaitForSave == other.WaitForSave && SimulateDelay.Equals(other.SimulateDelay) && RequestRecordMode == other.RequestRecordMode && RequestPlaybackMode == other.RequestPlaybackMode); }