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