internal static void RegisterCsvSerializer<T>() { CsvSerializer<T>.WriteFn(); CsvSerializer<T>.WriteObject(null, null); CsvWriter<T>.Write(null, default(IEnumerable<T>)); CsvWriter<T>.WriteRow(null, default(T)); }
public static void InitAot <T>() { CsvSerializer <T> .WriteFn(); CsvSerializer <T> .WriteObject(null, null); CsvWriter <T> .Write(null, default(IEnumerable <T>)); CsvWriter <T> .WriteRow(null, default(T)); CsvWriter <T> .WriteObject(null, default(IEnumerable <T>)); CsvWriter <T> .WriteObjectRow(null, default(IEnumerable <T>)); CsvReader <T> .ReadRow(null); CsvReader <T> .ReadObject(null); CsvReader <T> .ReadObjectRow(null); CsvReader <T> .ReadStringDictionary(null); }
public static void WriteCsv <T>(this TextWriter writer, IEnumerable <T> records) { CsvWriter <T> .Write(writer, records); }