///<summary> /// Get Hash Code. ///</summary> ///<returns>Hash Code for the current instance.</returns> public override int GetHashCode() { int hashCode = base.GetHashCode(); if (_start != null) { hashCode += _start.GetHashCode(); } if (_end != null) { hashCode += _end.GetHashCode(); } return(hashCode); }
///<summary> /// Get Hash Code. ///</summary> ///<returns>Hash Code for the current instance.</returns> public override int GetHashCode() { int hashCode = base.GetHashCode(); if (_sender != null) { hashCode += _sender.GetHashCode(); } hashCode += _type.GetHashCode(); if (_simulationTime != null) { hashCode += _simulationTime.GetHashCode(); } return(hashCode); }