CsvHelperAliases Class

Summary

Contians functionality related to reading and writing CSV files.
Assembly
Cake.CsvHelper.dll
Namespace
Cake.CsvHelper
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CsvHelperAliases"] class Type type-node

Syntax

public static class CsvHelperAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
ReadCsv<T>(ICakeContext, FilePath, ClassMap, CsvHelperSettings) IEnumerable<T>
Reads a CSV file into a C# object.
static
ReadCsv<T>(ICakeContext, FilePath, ClassMap) IEnumerable<T>
Reads a CSV file into a C# object.
static
ReadCsv<T>(ICakeContext, FilePath, CsvHelperSettings) IEnumerable<T>
Reads a CSV file into a C# object.
static
ReadCsv<T>(ICakeContext, FilePath) IEnumerable<T>
Reads a CSV file into a C# object.
static
WriteCsv<T>(ICakeContext, FilePath, List<T>, ClassMap, CsvHelperSettings) void
Writes the records to the speficed file using the specified class mapp and settings.
static
WriteCsv<T>(ICakeContext, FilePath, List<T>, CsvHelperSettings) void
Writes the records to the speficed file using the specified class mapp and settings.
static
WriteCsv<T>(ICakeContext, FilePath, List<T>, Dictionary<string, string>, CsvHelperSettings) void
Writes the records to the speficed file using the specified class mapp and settings.
static
WriteCsv<T>(ICakeContext, FilePath, List<T>) void
Writes the records to the speficed file using the specified class mapp and settings.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin