SuperMap.WindowsPhone.Core.Rectangle2D.operator C# (CSharp) Méthode

operator() public static méthode

${WP_core_Rectangle2D_operators_DoubleEquals_D}
public static operator ( ) : bool
Résultat bool
        public static bool operator ==(Rectangle2D rect1, Rectangle2D rect2)
        {
            if (object.Equals(rect1, null) || object.Equals(rect2, null))
            {
                return object.Equals(rect1, rect2);
            }
            return (rect1._x == rect2._x) && (rect1._y == rect2._y) && (rect1._width == rect2._width) && (rect1._height == rect2._height);
        }
        /// <summary>${WP_core_Rectangle2D_operators_NotEqual_D}</summary>