public override int GetHashCode()
 {
     unchecked
     {
         return((ActorKey.GetHashCode() * 397) ^ (int)NetContractId);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = _locationIp.GetHashCode();
         hashCode = (hashCode * 397) ^ _locationPort;
         hashCode = (hashCode * 397) ^ Key.GetHashCode();
         return(hashCode);
     }
 }