Example #1
0
 /// <summary>
 /// 判断 GroupByClip  是否为null
 /// </summary>
 /// <param name="groupByClip"></param>
 /// <returns></returns>
 public static bool IsNullOrEmpty(GroupByClip groupByClip)
 {
     if ((null == groupByClip) || string.IsNullOrEmpty(groupByClip.ToString()))
     {
         return(true);
     }
     return(false);
 }
Example #2
0
        /// <summary>
        /// 比较
        /// </summary>
        /// <param name="groupByClip"></param>
        /// <returns></returns>
        public bool Equals(GroupByClip groupByClip)
        {
            if (null == groupByClip)
            {
                return(false);
            }

            return(this.ToString().Equals(groupByClip.ToString()));
        }