public bool Equals(GlobalHotkeyDefinition other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.DefinitionId, DefinitionId));
 }
 public bool Equals(GlobalHotkeyDefinition other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.DefinitionId, DefinitionId);
 }