Ejemplo n.º 1
0
 public override Int32 GetHashCode()
 {
     unchecked {
         var hash = 7;
         hash = hash * 37 + Value.GetHashCode();
         return(hash);
     }
 }
Ejemplo n.º 2
0
 public override Int32 GetHashCode()
 {
     unchecked {
         var hash = 7;
         hash = hash * 37 + Count.GetHashCode();
         hash = hash * 37 + Radius.GetHashCode();
         hash = hash * 37 + Position.GetHashCode();
         return(hash);
     }
 }
Ejemplo n.º 3
0
        public override Int32 GetHashCode()
        {
            unchecked {
                var hash = 7;
                hash = hash * 37 + Position.GetHashCode();
                hash = hash * 37 + Forward.GetHashCode();

                return(hash);
            }
        }
Ejemplo n.º 4
0
 public override Int32 GetHashCode()
 {
     unchecked {
         var hash = 7;
         hash = hash * 37 + InitPos.GetHashCode();
         hash = hash * 37 + Interval.GetHashCode();
         hash = hash * 37 + Radius.GetHashCode();
         hash = hash * 37 + InitDeg.GetHashCode();
         return(hash);
     }
 }
Ejemplo n.º 5
0
 public override Int32 GetHashCode()
 {
     unchecked {
         var hash = 7;
         hash = hash * 37 + Count.GetHashCode();
         hash = hash * 37 + Alignment.GetHashCode();
         hash = hash * 37 + Separation.GetHashCode();
         hash = hash * 37 + ObstacleDistance.GetHashCode();
         hash = hash * 37 + ObstaclePositionIndex.GetHashCode();
         hash = hash * 37 + TargetPositionIndex.GetHashCode();
         hash = hash * 37 + Index.GetHashCode();
         return(hash);
     }
 }