Example #1
0
 public static Table From <T>(T value)
 {
     return(value.GetType() == typeof(T) ? CastTable <T> .Convert(value) : From((object)value));
 }
Example #2
0
 private static Func <object, Table> GetCreator <T>()
 {
     return(value => CastTable <T> .Convert((T)value));
 }
Example #3
0
 private static Value CallMethod <T>(T value, string name)
 {
     return(CastTable <T> .GetValue != null ? CastTable <T> .GetValue(value, name) : null);
 }