Beispiel #1
0
        public static bool operator ==(UnrealTargetConstraint C1, UnrealTargetConstraint C2)
        {
            if (ReferenceEquals(C1, null) || ReferenceEquals(C2, null))
            {
                throw new AutomationException("Comparing null target constraint");
            }

            return(C1.Equals(C2));
        }
Beispiel #2
0
 public bool Equals(CoordPair other)
 {
     return((C1.Equals(other.C1) && C2.Equals(other.C2)) || (C1.Equals(other.C2) && C2.Equals(other.C1)));
 }
Beispiel #3
0
 /// <summary>
 /// Check if this color is not equals to another.
 /// </summary>
 /// <param name="C1">Left operand.</param>
 /// <param name="C2">Right operand.</param>
 /// <returns>True or false.</returns>
 public static bool operator !=(Color4 C1, Color4 C2)
 {
     return(!C1.Equals(C2));
 }