public bool Equals(ControllerInputSource other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(_controllerId, other._controllerId) && _inputSource.Equals(other._inputSource)); }