// Copyright 2009-2022 Josh Close
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/JoshClose/CsvHelper
using CsvHelper.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsvHelper
{
///
/// Mode to use when parsing and writing.
///
public enum CsvMode
{
///
/// Uses RFC 4180 format (default).
/// If a field contains a or ,
/// it is wrapped in s.
/// If quoted field contains a , it is preceded by .
///
RFC4180 = 0,
///
/// Uses escapes.
/// If a field contains a , ,
/// or , it is preceded by .
/// Newline defaults to \n.
///
Escape,
///
/// Doesn't use quotes or escapes.
/// This will ignore quoting and escape characters. This means a field cannot contain a
/// , , or
/// , as they cannot be escaped.
///
NoEscape
}
}