Пример #1
0
 public static object ReadValues(MappedReader reader, Type valueType, int n)
 => typeof(MappedReader).GetMethod("ReadValues").MakeGenericMethod(valueType).Invoke(reader, new object[] { n });
Пример #2
0
 public static object ReadValue(MappedReader reader, Type valueType)
 => typeof(MappedReader).GetMethod("ReadValue").MakeGenericMethod(valueType).Invoke(reader, new object[0]);