public override bool Equals(object that) { if(that is MessageDispatch) { return Equals((MessageDispatch) that); } return false; }