public Task WriteLineAsync(T lineElement) { return(FileWriter.WriteLineAsync( CsvFunctions.ToLine( lineElement, config ) )); }
public async Task WriteLinesAsync(IEnumerable <T> elements) { var enumerator = elements.GetEnumerator(); while (enumerator.MoveNext()) { await FileWriter.WriteLineAsync( CsvFunctions.ToLine( enumerator.Current, config ) ); } }