Beispiel #1
0
        public bool Equals(DVRP p)
        {
            // If parameter is null return false:
            if ((object)p == null)
            {
                return(false);
            }

            // Return true if the fields match:
            return(DVRPComparer.AreObjectsEqual(this, p, new string[0] {
            }));
        }
Beispiel #2
0
        public override bool Equals(System.Object obj)
        {
            // If parameter is null return false.
            if (obj == null)
            {
                return(false);
            }

            // If parameter cannot be cast to Point return false.
            DVRP p = obj as DVRP;

            if ((System.Object)p == null)
            {
                return(false);
            }

            // Return true if the fields match:
            return(DVRPComparer.AreObjectsEqual(this, p, new string[0] {
            }));
        }
Beispiel #3
0
 public static bool operator !=(DVRP v1, DVRP v2)
 {
     return(!DVRPComparer.AreObjectsEqual(v1, v2, new string[0] {
     }));
 }