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