Class WhiteSpaceCharsAttribute
- Namespace
- CsvHelper.Configuration.Attributes
- Assembly
- CsvHelper.dll
Characters considered whitespace. Used when trimming fields. Default is [' '].
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class WhiteSpaceCharsAttribute : Attribute, IClassMapper
- Inheritance
-
WhiteSpaceCharsAttribute
- Implements
- Inherited Members
Constructors
WhiteSpaceCharsAttribute(string)
Characters considered whitespace. Used when trimming fields.
public WhiteSpaceCharsAttribute(string whiteSpaceChars)
Parameters
whiteSpaceChars
string
Properties
WhiteSpaceChars
Characters considered whitespace. Used when trimming fields.
public char[] WhiteSpaceChars { get; }
Property Value
- char[]
Methods
ApplyTo(CsvConfiguration)
public void ApplyTo(CsvConfiguration configuration)
Parameters
configuration
CsvConfiguration