Beispiel #1
0
 private CsvReader(ReadOnlyMemory <char> data, CsvMapper <T> mapper)
 {
     _data        = data;
     _mapper      = mapper;
     TCreatorFunc = ReflectionUtils.CreateConstructorCallFunc <T>();
 }
Beispiel #2
0
 public static CsvReader <T> CreateFromString(string data, CsvMapper <T> mapping)
 {
     return(new CsvReader <T>(data.AsMemory(), mapping));
 }