Example #1
0
 public virtual string ResolveString(CSVTypeResolverArgs args)
 {
     return args.Value.ToString();
 }
Example #2
0
 public virtual int ResolveInt(CSVTypeResolverArgs args)
 {
     return Convert.ToInt32(args.Value);
 }
Example #3
0
 public virtual double ResolveDouble(CSVTypeResolverArgs args)
 {
     return Convert.ToDouble(args.Value);
 }
Example #4
0
 public virtual object ResolveEnum(CSVTypeResolverArgs args)
 {
     return Enum.Parse(args.Type, (string)args.Value);
 }
Example #5
0
 public virtual DateTime ResolveDateTime(CSVTypeResolverArgs args)
 {
     return Convert.ToDateTime(args.Value);
 }