示例#1
0
 private static Func <object, Table> GetCreator <T>()
 {
     return(value => CastTable <T> .Convert((T)value));
 }
示例#2
0
 public static Table From <T>(T value)
 {
     return(value.GetType() == typeof(T) ? CastTable <T> .Convert(value) : From((object)value));
 }