using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading; using System.Collections.Concurrent; using System.Threading.Tasks; namespace Tango.CSV { /// /// Represents a configuration. /// public class CsvDefinition { /// /// Gets or sets the header. /// public string Header { get; set; } /// /// Gets or sets the field separator. /// public char FieldSeparator { get; set; } /// /// Gets or sets the text qualifier. /// public char TextQualifier { get; set; } /// /// Gets or sets the columns. /// public IEnumerable Columns { get; set; } /// /// Gets or sets the end of line. /// public string EndOfLine { get; set; } /// /// Initializes a new instance of the class. /// public CsvDefinition() { if (CsvFile.DefaultCsvDefinition != null) { FieldSeparator = CsvFile.DefaultCsvDefinition.FieldSeparator; TextQualifier = CsvFile.DefaultCsvDefinition.TextQualifier; EndOfLine = CsvFile.DefaultCsvDefinition.EndOfLine; } } } }