Exemple #1
0
 public static DateTime ToDateTime(this IConvert c)
 {
     return(ConvertHelper.StrToDateTime(c.GetValue()));
 }
Exemple #2
0
 public static int ToInt(this IConvert c, int def)
 {
     return(ConvertHelper.StrToInt(c.GetValue(), def));
 }
Exemple #3
0
 public static float ToFloat(this IConvert c, float def)
 {
     return(ConvertHelper.StrToFloat(c.GetValue(), def));
 }