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