Skip to main content

CsvStreamExtensions

Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class CsvStreamExtensions

Methods

WriteCsv<T>(Stream, IEnumerable<T>)

View Source
Declaration
public static void WriteCsv<T>(this Stream outputStream, IEnumerable<T> records)
Parameters
TypeName
System.IO.StreamoutputStream
System.Collections.Generic.IEnumerable<<T>>records
Type Parameters
  • T

WriteCsv<T>(TextWriter, IEnumerable<T>)

View Source
Declaration
public static void WriteCsv<T>(this TextWriter writer, IEnumerable<T> records)
Parameters
TypeName
System.IO.TextWriterwriter
System.Collections.Generic.IEnumerable<<T>>records
Type Parameters
  • T