/// <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); }
/// <summary> /// 比较 /// </summary> /// <param name="groupByClip"></param> /// <returns></returns> public bool Equals(GroupByClip groupByClip) { if (null == groupByClip) { return(false); } return(this.ToString().Equals(groupByClip.ToString())); }