public override int GetHashCode() { unchecked { return(((KeyboardSettings != null ? KeyboardSettings.GetHashCode() : 0) * 397) ^ (MouseSettings != null ? MouseSettings.GetHashCode() : 0)); } }
protected bool Equals(KeyboardSettings other) { return(IsScanEnabled == other.IsScanEnabled && IsEnabled == other.IsEnabled && Equals(Patterns, other.Patterns)); }