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