/// <summary> /// Writes a list of values to the CSV streem /// </summary> /// <param name="csvWriter">The <see cref="CsvWriter"/></param> /// <param name="values">The list of values to be written.</param> public static void WriteValues(this CsvWriter csvWriter, params string[] values) { csvWriter.WriteValues((IEnumerable <string>)values); }
/// <summary> /// Writes a list of values to the CSV streem and closes the current row within the CSV stream. /// </summary> /// <param name="csvWriter">The <see cref="CsvWriter"/></param> /// <param name="values">The list of values to be written.</param> /// <returns>A task that represents the asynchronous write operation.</returns> public static async Task WriteLineValuesAsync(this CsvWriter csvWriter, IEnumerable <string> values) { await csvWriter.WriteValuesAsync(values); await csvWriter.WriteLineAsync(); }
/// <summary> /// Writes a list of values to the CSV streem and closes the current row within the CSV stream. /// </summary> /// <param name="csvWriter">The <see cref="CsvWriter"/></param> /// <param name="values">The list of values to be written.</param> /// <returns>A task that represents the asynchronous write operation.</returns> public static async Task WriteLineValuesAsync(this CsvWriter csvWriter, params string[] values) { await csvWriter.WriteLineValuesAsync((IEnumerable <string>) values); }
/// <summary> /// Writes a list of values to the CSV streem and closes the current row within the CSV stream. /// </summary> /// <param name="csvWriter">The <see cref="CsvWriter"/></param> /// <param name="values">The list of values to be written.</param> public static void WriteLineValues(this CsvWriter csvWriter, IEnumerable <string> values) { csvWriter.WriteValues(values); csvWriter.WriteLine(); }