Exemplo n.º 1
0
 public static bool IsSigned(System.Type type)
 {
     if ((object)type != (object)typeof(short) && (object)type != (object)typeof(int) && ((object)type != (object)typeof(long) && (object)type != (object)typeof(sbyte)))
     {
         return(GridViewHelper.IsFloat(type));
     }
     return(true);
 }
Exemplo n.º 2
0
 public static bool IsNumeric(System.Type type)
 {
     if (!GridViewHelper.IsFloat(type))
     {
         return(GridViewHelper.IsInteger(type));
     }
     return(true);
 }