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)); }
public bool Equals(CoordPair other) { return((C1.Equals(other.C1) && C2.Equals(other.C2)) || (C1.Equals(other.C2) && C2.Equals(other.C1))); }
/// <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)); }