SuperMap.WindowsPhone.Core.Point2D.IsNullOrEmpty C# (CSharp) Method

IsNullOrEmpty() public static method

${WP_core_Point2D_method_IsNullOrEmpty_D}
public static IsNullOrEmpty ( Point2D point ) : bool
point Point2D ${WP_core_Point2D_method_IsNullOrEmpty_param_point}
return bool
        public static bool IsNullOrEmpty(Point2D point)
        {
            if (point == null)
            {
                return true;
            }

            if (point.X.ValueCheck() && point.Y.ValueCheck())
            {
                return false;
            }
            else
            {
                return true;
            }
        }