CsvHelper Represents errors that occur due to bad data. Initializes a new instance of the class. The reading context. Initializes a new instance of the class with a specified error message. The reading context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Types of caches. None. Named index. Delegate that creates objects when reading. Delegate that writes objects to strings when writing. Type converter options. Raw record. The string values used to represent a boolean false when converting. Gets the false values. The string values used to represent a boolean false when converting. The false values. The string values used to represent a boolean false when converting. The false values. The string values used to represent a boolean true when converting. Gets the true values. The string values used to represent a boolean true when converting. The string values used to represent a boolean true when converting. The constant value that will be used for every record when reading and writing. This value will always be used no matter what other mapping configurations are specified. Gets the constant. The constant value that will be used for every record when reading and writing. This value will always be used no matter what other mapping configurations are specified. The constant. The used when type converting. This will override the global setting. Gets the culture info. The used when type converting. This will override the global setting. The culture. The to use when type converting. This is used when doing any conversions. Gets the date time styles. The to use when type converting. This is used when doing any conversions. The date time styles. The default value that will be used when reading when the CSV field is empty. Gets the default value. The default value that will be used when reading when the CSV field is empty. The default value The string format to be used when type converting. Gets the formats. The string format to be used when type converting. The format. The string format to be used when type converting. The formats. Appends a prefix to the header of each field of the reference member. Gets the prefix. Appends a prefix to the header of each field of the reference member. Appends a prefix to the header of each field of the reference member. The prefix. Ignore the member when reading and writing. If this member has already been mapped as a reference member, either by a class map, or by automapping, calling this method will not ignore all the child members down the tree that have already been mapped. When reading, is used to get the field at the given index. When writing, the fields will be written in the order of the field indexes. Gets the index. Gets the index end. When reading, is used to get the field at the given index. When writing, the fields will be written in the order of the field indexes. The index. The index end. When reading, is used to get the field at the index of the name if there was a header specified. It will look for the first name match in the order listed. When writing, sets the name of the field in the header record. The first name will be used. Gets the names. When reading, is used to get the field at the index of the name if there was a header specified. It will look for the first name match in the order listed. When writing, sets the name of the field in the header record. The first name will be used. The name When reading, is used to get the field at the index of the name if there was a header specified. It will look for the first name match in the order listed. When writing, sets the name of the field in the header record. The first name will be used. The names. When reading, is used to get the index of the name used when there are multiple names that are the same. The name index. When reading, is used to get the index of the name used when there are multiple names that are the same. The name index. The string values used to represent null when converting. Gets the null values. The string values used to represent null when converting. The null values. The string values used to represent null when converting. The null values. The to use when type converting. This is used when doing any number conversions. Gets the number styles. The to use when type converting. This is used when doing any number conversions. The number styles. Ignore the member when reading if no matching field name can be found. Specifies the to use when converting the member to and from a CSV field. Gets the type converter. Specifies the to use when converting the member to and from a CSV field. Maps class members to CSV fields. The type of the class this map is for. The class constructor parameter mappings. The class member mappings. The class member reference mappings. Allow only internal creation of CsvClassMap. The type of the class this map is for. Maps a member to a CSV field. The type of the class this map is for. This may not be the same type as the member.DeclaringType or the current ClassType due to nested member mappings. The member to map. If true, an existing map will be used if available. If false, a new map is created for the same member. The member mapping. Maps a non-member to a CSV field. This allows for writing data that isn't mapped to a class member. The member mapping. Maps a member to another class map. The type of the class map. The member. Constructor arguments used to create the reference map. The reference mapping for the member. Auto maps all members for the given type. If a member is mapped again it will override the existing map. Auto maps all members for the given type. If a member is mapped again it will override the existing map. The configuration. Get the largest index for the members and references. The max index. Resets the indexes based on the given start index. The index start. The last index + 1. Auto maps the given map and checks for circular references as it goes. The map to auto map. The configuration. The list of parents for the map. The index starting point. Auto maps the given map using constructor parameters. The map. The configuration. The list of parents for the map. The index starting point. Checks for circular references. The type to check for. The list of parents to check against. A value indicating if a circular reference was found. True if a circular reference was found, otherwise false. Gets the generic type for this class map. Applies attribute configurations to the map. The member map. Applies attribute configurations to the map. The reference map. Has mapping capabilities. The class type. Maps a member to a CSV field. The member to map. If true, an existing map will be used if available. If false, a new map is created for the same member. The member mapping. Options after a mapping call. The class type. The member type. Has type converter capabilities. The class type. The member type. Specifies the to use when converting the member to and from a CSV field. The TypeConverter to use. Specifies the to use when converting the member to and from a CSV field. The of the to use. Options after a type converter call. The class type. The member type. Has index capabilities. The class type. The member type. When reading, is used to get the field at the given index. When writing, the fields will be written in the order of the field indexes. The index of the CSV field. The end index used when mapping to an member. Options after an index call. The class type. The member type. Has optional capabilities. The class type. The member type. Ignore the member when reading if no matching field name can be found. Options after an optional call. The class type. The member type. Has name capabilities. The class type. The member type. When reading, is used to get the field at the index of the name if there was a header specified. It will look for the first name match in the order listed. When writing, sets the name of the field in the header record. The first name will be used. The possible names of the CSV field. Options after a name call. The class type. The member type. Has name index capabilities. The class type. The member type. When reading, is used to get the index of the name used when there are multiple names that are the same. The index of the name. Options after a name index call. The class type. The member type. Has convert using capabilities. The class type. The member type. Specifies an expression to be used to convert data in the row to the member. The convert expression. Specifies an expression to be used to convert the object to a field. The convert expression. Has default capabilities. The class type. The member type. The default value that will be used when reading when the CSV field is empty. The default value. The default value that will be used when reading when the CSV field is empty. This value is not type checked and will use a to convert the field. This could potentially have runtime errors. The default value. Options after a default call. The class type. The member type. Has constant capabilities. The class type. The member type. The constant value that will be used for every record when reading and writing. This value will always be used no matter what other mapping configurations are specified. The constant value. Has validate capabilities. The class type. The member type. The validate expression that will be called on every field when reading. The expression should return true if the field is valid. If false is returned, a will be thrown. The validation expression. Has build capabilities. The class type. Builds the . Collection that holds CsvClassMaps for record types. Gets the for the specified record type. The . The record type. The for the specified record type. Creates a new instance using the given configuration. The configuration. Finds the for the specified record type. The record type. The for the specified record type. Adds the specified map for it's record type. If a map already exists for the record type, the specified map will replace it. The map. Removes the class map. The class map type. Removes all maps. Goes up the inheritance tree to find the type instance of CsvClassMap{}. The type to traverse. The type that is CsvClassMap{}. Sets defaults for the mapping tree. The defaults used to be set inside the classes, but this didn't allow for the TypeConverter to be created from the Configuration's TypeConverterFactory. The map to set defaults on. Maps class members to CSV fields. The of class to map. Creates an instance of . Maps a member to a CSV field. The member to map. If true, an existing map will be used if available. If false, a new map is created for the same member. The member mapping. Meant for internal use only. Maps a member to another class map. When this is used, accessing a property through sub-property mapping later won't work. You can only use one or the other. When using this, ConvertUsing will also not work. The type of the class map. The expression. Constructor arguments used to create the reference map. The reference mapping for the member. Configuration used for reading and writing CSV data. Gets or sets the . Gets or sets the . Gets or sets a value indicating if the CSV file has a header record. Default is true. Gets or sets the function that is called when a header validation check is ran. The default function will throw a if there is no header for a given member mapping. You can supply your own function to do other things like logging the issue instead of throwing an exception. Arguments: isValid, headerNames, headerNameIndex, context Gets or sets the function that is called when a missing field is found. The default function will throw a . You can supply your own function to do other things like logging the issue instead of throwing an exception. Arguments: headerNames, index, context Gets or sets the function that is called when bad field data is found. A field has bad data if it contains a quote and the field is not quoted (escaped). You can supply your own function to do other things like logging the issue instead of throwing an exception. Arguments: context Gets or sets the function that is called when a reading exception occurs. The default function will re-throw the given exception. If you want to ignore reading exceptions, you can supply your own function to do other things like logging the issue. Arguments: exception Gets or sets the callback that will be called to determine whether to skip the given record or not. Gets or sets a value indicating if a line break found in a quote field should be considered bad data. True to consider a line break bad data, otherwise false. Defaults to false. Gets or sets a value indicating if fields should be sanitized to prevent malicious injection. This covers MS Excel, Google Sheets and Open Office Calc. Gets or sets the characters that are used for injection attacks. Gets or sets the character used to escape a detected injection. Gets or sets a value indicating whether changes in the column count should be detected. If true, a will be thrown if a different column count is detected. true if [detect column count changes]; otherwise, false. Prepares the header field for matching against a member name. The header field and the member name are both ran through this function. You should do things like trimming, removing whitespace, removing underscores, and making casing changes to ignore case. Determines if constructor parameters should be used to create the class instead of the default constructor and members. Chooses the constructor to use for constructor mapping. Gets or sets the comparer used to order the properties of dynamic objects when writing. The default is null, which will preserve the order the object properties were created with. Gets or sets a value indicating whether references should be ignored when auto mapping. True to ignore references, otherwise false. Default is false. Gets or sets the field trimming options. Gets or sets the delimiter used to separate fields. Default is CultureInfo.TextInfo.ListSeparator. Gets or sets the escape character used to escape a quote inside a field. Default is '"'. Gets or sets the character used to quote fields. Default is '"'. Gets a string representation of the currently configured Quote character. The new quote string. Gets a string representation of two of the currently configured Quote characters. The new double quote string. Gets or sets a function that is used to determine if a field should get quoted when writing. Arguments: field, context Gets or sets the character used to denote a line that is commented out. Default is '#'. Gets or sets a value indicating if comments are allowed. True to allow commented out lines, otherwise false. Gets or sets the size of the buffer used for reading CSV files. Default is 2048. Gets or sets a value indicating whether the number of bytes should be counted while parsing. Default is false. This will slow down parsing because it needs to get the byte count of every char for the given encoding. The needs to be set correctly for this to be accurate. Gets or sets the encoding used when counting bytes. Gets or sets the culture info used to read an write CSV files. Default is . Gets or sets a value indicating if quotes should be ignored when parsing and treated like any other character. Gets or sets a value indicating if private member should be read from and written to. True to include private member, otherwise false. Default is false. Gets or sets the member types that are used when auto mapping. MemberTypes are flags, so you can choose more than one. Default is Properties. Gets or sets a value indicating if blank lines should be ignored when reading. True to ignore, otherwise false. Default is true. Gets or sets a callback that will return the prefix for a reference header. Arguments: memberType, memberName The configured s. Gets or sets a value indicating that during writing if a new object should be created when a reference member is null. True to create a new object and use it's defaults for the fields, or false to leave the fields empty for all the reference member's member. Initializes a new instance of the class. Initializes a new instance of the class using the given . Since uses for it's default, the given will be used instead. The culture information. Use a to configure mappings. When using a class map, no members are mapped by default. Only member specified in the mapping are used. The type of mapping class to use. Use a to configure mappings. When using a class map, no members are mapped by default. Only members specified in the mapping are used. The type of mapping class to use. Registers the class map. The class map to register. Unregisters the class map. The map type to unregister. Unregisters the class map. The map type to unregister. Unregisters all class maps. Generates a for the type. The type to generate the map for. The generate map. Generates a for the type. The type to generate for the map. The generate map. Represents configuration errors that occur. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Holds the default callback methods for delegate members of CsvHelper.Configuration.Configuration. Throws a if is false. Throws a MissingFieldException. Throws a . Throws the given . Returns true if the field contains a , starts with a space, ends with a space, contains \r or \n, or contains the . The field. The context. Returns false. Returns the as given. Returns true if : 1. does not have a parameterless constructor 2. has a constructor 3. is not a user defined struct 4. is not an interface 5. TypeCode is not an Object. Returns the type's constructor with the most parameters. If two constructors have the same number of parameters, then there is no guarantee which one will be returned. If you have that situation, you should probably implement this function yourself. A default that can be used to create a class map dynamically. Configuration used for the . Gets or sets the size of the buffer used for reading CSV files. Default is 2048. Gets or sets a value indicating whether the number of bytes should be counted while parsing. Default is false. This will slow down parsing because it needs to get the byte count of every char for the given encoding. The needs to be set correctly for this to be accurate. Gets or sets the encoding used when counting bytes. Gets or sets the function that is called when bad field data is found. A field has bad data if it contains a quote and the field is not quoted (escaped). You can supply your own function to do other things like logging the issue instead of throwing an exception. Arguments: context Gets or sets a value indicating if a line break found in a quote field should be considered bad data. True to consider a line break bad data, otherwise false. Defaults to false. Gets or sets the character used to denote a line that is commented out. Default is '#'. Gets or sets a value indicating if comments are allowed. True to allow commented out lines, otherwise false. Gets or sets a value indicating if blank lines should be ignored when reading. True to ignore, otherwise false. Default is true. Gets or sets a value indicating if quotes should be ignored when parsing and treated like any other character. Gets or sets the character used to quote fields. Default is '"'. Gets or sets the delimiter used to separate fields. Default is CultureInfo.CurrentCulture.TextInfo.ListSeparator. Gets or sets the escape character used to escape a quote inside a field. Default is '"'. Gets or sets the field trimming options. Configuration used for the . Gets or sets a value indicating if the CSV file has a header record. Default is true. Gets or sets the function that is called when a header validation check is ran. The default function will throw a if there is no header for a given member mapping. You can supply your own function to do other things like logging the issue instead of throwing an exception. Arguments: isValid, headerNames, headerNameIndex, context Gets or sets the function that is called when a missing field is found. The default function will throw a . You can supply your own function to do other things like logging the issue instead of throwing an exception. Arguments: headerNames, index, context Gets or sets the function that is called when a reading exception occurs. The default function will re-throw the given exception. If you want to ignore reading exceptions, you can supply your own function to do other things like logging the issue. Arguments: exception Gets or sets the culture info used to read an write CSV files. Gets or sets the . Gets or sets the . Prepares the header field for matching against a member name. The header field and the member name are both ran through this function. You should do things like trimming, removing whitespace, removing underscores, and making casing changes to ignore case. Determines if constructor parameters should be used to create the class instead of the default constructor and members. Chooses the constructor to use for constructor mapping. Gets or sets a value indicating whether references should be ignored when auto mapping. True to ignore references, otherwise false. Default is false. Gets or sets the callback that will be called to determine whether to skip the given record or not. Gets or sets a value indicating if private member should be read from and written to. True to include private member, otherwise false. Default is false. Gets or sets a callback that will return the prefix for a reference header. Arguments: memberType, memberName Gets or sets a value indicating whether changes in the column count should be detected. If true, a will be thrown if a different column count is detected. true if [detect column count changes]; otherwise, false. Gets or sets the member types that are used when auto mapping. MemberTypes are flags, so you can choose more than one. Default is Properties. The configured s. Use a to configure mappings. When using a class map, no members are mapped by default. Only member specified in the mapping are used. The type of mapping class to use. Use a to configure mappings. When using a class map, no member are mapped by default. Only member specified in the mapping are used. The type of mapping class to use. Registers the class map. The class map to register. Unregisters the class map. The map type to unregister. Unregisters the class map. The map type to unregister. Unregisters all class maps. Generates a for the type. The type to generate the map for. The generate map. Generates a for the type. The type to generate for the map. The generate map. Configuration used for the . Gets or sets the delimiter used to separate fields. Default is ','; Gets or sets the character used to quote fields. Default is '"'. Gets or sets the escape character used to escape a quote inside a field. Default is '"'. Gets or sets the field trimming options. Gets or sets a value indicating if fields should be sanitized to prevent malicious injection. This covers MS Excel, Google Sheets and Open Office Calc. Gets or sets the characters that are used for injection attacks. Gets or sets the character used to escape a detected injection. Configuration used for the . Gets a string representation of the currently configured Quote character. The new quote string. Gets a string representation of two of the currently configured Quote characters. The new double quote string. Gets or sets a function that is used to determine if a field should get quoted when writing. Arguments: field, context Gets or sets the culture info used to read an write CSV files. Gets or sets the . Gets or sets the . Gets or sets a value indicating if comments are allowed. True to allow commented out lines, otherwise false. Gets or sets the character used to denote a line that is commented out. Default is '#'. Gets or sets a value indicating if the CSV file has a header record. Default is true. Gets or sets a value indicating whether references should be ignored when auto mapping. True to ignore references, otherwise false. Default is false. Gets or sets a value indicating if private member should be read from and written to. True to include private member, otherwise false. Default is false. Gets or sets a callback that will return the prefix for a reference header. Arguments: memberType, memberName Gets or sets the member types that are used when auto mapping. MemberTypes are flags, so you can choose more than one. Default is Properties. The configured s. Use a to configure mappings. When using a class map, no member are mapped by default. Only member specified in the mapping are used. The type of mapping class to use. Use a to configure mappings. When using a class map, no member are mapped by default. Only member specified in the mapping are used. The type of mapping class to use. Registers the class map. The class map to register. Unregisters the class map. The map type to unregister. Unregisters the class map. The map type to unregister. Unregisters all class maps. Generates a for the type. The type to generate the map for. The generate map. Generates a for the type. The type to generate for the map. The generate map. Gets or sets a value indicating that during writing if a new object should be created when a reference member is null. True to create a new object and use it's defaults for the fields, or false to leave the fields empty for all the reference member's member. Gets or sets the comparer used to order the properties of dynamic objects when writing. The default is null, which will preserve the order the object properties were created with. Sets type converter options on a member map. Creates a new instance using the given . The member map the options are being applied to. The used when type converting. This will override the global setting. The culture info. The to use when type converting. This is used when doing any conversions. The date time style. The to use when type converting. This is used when doing any number conversions. The string format to be used when type converting. The format. The string values used to represent a boolean when converting. A value indicating whether true values or false values are being set. A value indication if the current values should be cleared before adding the new ones. The string boolean values. The string values used to represent null when converting. The values that represent null. The string values used to represent null when converting. A value indication if the current values should be cleared before adding the new ones. The values that represent null. Mapping info for a member to a CSV field. Gets the member map data. Type converter options. Creates an instance of using the given Type and . Type of the class the member being mapped belongs to. The member being mapped. When reading, is used to get the field at the index of the name if there was a header specified. It will look for the first name match in the order listed. When writing, sets the name of the field in the header record. The first name will be used. The possible names of the CSV field. When reading, is used to get the index of the name used when there are multiple names that are the same. The index of the name. When reading, is used to get the field at the given index. When writing, the fields will be written in the order of the field indexes. The index of the CSV field. The end index used when mapping to an member. Ignore the member when reading and writing. If this member has already been mapped as a reference member, either by a class map, or by automapping, calling this method will not ignore all the child members down the tree that have already been mapped. Ignore the member when reading and writing. If this member has already been mapped as a reference member, either by a class map, or by automapping, calling this method will not ignore all the child members down the tree that have already been mapped. True to ignore, otherwise false. The default value that will be used when reading when the CSV field is empty. The default value. The default value that will be used when reading when the CSV field is empty. This value is not type checked and will use a to convert the field. This could potentially have runtime errors. The default value. The constant value that will be used for every record when reading and writing. This value will always be used no matter what other mapping configurations are specified. The constant value. Specifies the to use when converting the member to and from a CSV field. The TypeConverter to use. Specifies the to use when converting the member to and from a CSV field. The of the to use. Specifies an expression to be used to validate a field when reading. A collection that holds 's. Gets the number of elements contained in the . The number of elements contained in the . Gets a value indicating whether the is read-only. true if the is read-only; otherwise, false. Initializes a new instance of the class. Initializes a new instance of the class. The comparer to use when sorting the member maps. Returns an enumerator that iterates through the collection. A that can be used to iterate through the collection. 1 Returns an enumerator that iterates through a collection. An object that can be used to iterate through the collection. 2 Adds an item to the . The object to add to the . The is read-only. Adds a range of items to the . The collection to add. Removes all items from the . The is read-only. Determines whether the contains a specific value. true if is found in the ; otherwise, false. The object to locate in the . Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.The zero-based index in at which copying begins. is null. is less than 0.The number of elements in the source is greater than the available space from to the end of the destination . Removes the first occurrence of a specific object from the . true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . The object to remove from the . The is read-only. Determines the index of a specific item in the . The index of if found in the list; otherwise, -1. The object to locate in the . Inserts an item to the at the specified index. The zero-based index at which should be inserted. The object to insert into the . is not a valid index in the . The is read-only. Removes the item at the specified index. The zero-based index of the item to remove. is not a valid index in the . The is read-only. Gets or sets the element at the specified index. The element at the specified index. The zero-based index of the element to get or set. is not a valid index in the . The member is set and the is read-only. Finds the using the given member expression. The the member is on. The member expression. The for the given expression, or null if not found. Finds the using the given member. The member. The for the given expression, or null if not found. Adds the members from the mapping. This will recursively traverse the mapping tree and add all members for reference maps. The mapping where the members are added from. Used to compare s. The order is by field index ascending. Any fields that don't have an index are pushed to the bottom. Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. Value Condition Less than zero is less than . Zero equals . Greater than zero is greater than . The first object to compare. The second object to compare. Neither nor implements the interface. -or- and are of different types and neither one can handle comparisons with the other. 2 Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. Value Condition Less than zero is less than . Zero equals . Greater than zero is greater than . The first object to compare. The second object to compare. The configured data for the member map. Gets the that the data is associated with. Gets the list of column names. Gets or sets the index of the name. This is used if there are multiple columns with the same names. Gets or sets a value indicating if the name was explicitly set. True if it was explicitly set, otherwise false. Gets or sets the column index. Gets or sets the index end. The Index end is used to specify a range for use with a collection member. Index is used as the start of the range, and IndexEnd is the end of the range. Gets or sets a value indicating if the index was explicitly set. True if it was explicitly set, otherwise false. Gets or sets the type converter. Gets or sets the type converter options. Gets or sets a value indicating whether the field should be ignored. Gets or sets the default value used when a CSV field is empty. Gets or sets a value indicating whether this instance is default value set. the default value was explicitly set. True if it was explicitly set, otherwise false. Gets or sets the constant value used for every record. Gets or sets a value indicating if a constant was explicitly set. Gets or sets the expression used to convert data in the row to the member. Gets or sets the expression to be used to convert the object to a field. Gets or sets the expression use to validate a field. Gets or sets a value indicating if a field is optional. Initializes a new instance of the class. The member. Mapping info for a member to a CSV field. Creates a new instance using the specified member. When reading, is used to get the field at the index of the name if there was a header specified. It will look for the first name match in the order listed. When writing, sets the name of the field in the header record. The first name will be used. The possible names of the CSV field. When reading, is used to get the index of the name used when there are multiple names that are the same. The index of the name. When reading, is used to get the field at the given index. When writing, the fields will be written in the order of the field indexes. The index of the CSV field. The end index used when mapping to an member. Ignore the member when reading and writing. If this member has already been mapped as a reference member, either by a class map, or by automapping, calling this method will not ignore all the child members down the tree that have already been mapped. Ignore the member when reading and writing. If this member has already been mapped as a reference member, either by a class map, or by automapping, calling this method will not ignore all the child members down the tree that have already been mapped. True to ignore, otherwise false. The default value that will be used when reading when the CSV field is empty. The default value. The default value that will be used when reading when the CSV field is empty. This value is not type checked and will use a to convert the field. This could potentially have runtime errors. The default value. The constant value that will be used for every record when reading and writing. This value will always be used no matter what other mapping configurations are specified. The constant value. Specifies the to use when converting the member to and from a CSV field. The TypeConverter to use. Specifies the to use when converting the member to and from a CSV field. The of the to use. Specifies an expression to be used to convert data in the row to the member. The convert expression. Specifies an expression to be used to convert the object to a field. The convert expression. Ignore the member when reading if no matching field name can be found. Specifies an expression to be used to validate a field when reading. A collection that holds member names. Gets the name at the given index. If a prefix is set, it will be prepended to the name. Gets the prefix to use for each name. Gets the raw list of names without the prefix being prepended. Gets the count. Adds the given name to the collection. The name to add. Clears all names from the collection. Adds a range of names to the collection. The range to add. Returns an enumerator that iterates through the collection. A that can be used to iterate through the collection. 1 Returns an enumerator that iterates through a collection. An object that can be used to iterate through the collection. 2 Mapping info for a reference member mapping to a class. Gets the member reference map data. Initializes a new instance of the class. The member. The to use for the reference map. Appends a prefix to the header of each field of the reference member. The prefix to be prepended to headers of each reference member. The current Get the largest index for the members and references. The max index. A collection that holds 's. Gets the number of elements contained in the . The number of elements contained in the . Gets a value indicating whether the is read-only. true if the is read-only; otherwise, false. Gets or sets the element at the specified index. The element at the specified index. The zero-based index of the element to get or set. is not a valid index in the . The member is set and the is read-only. Returns an enumerator that iterates through the collection. A that can be used to iterate through the collection. 1 Returns an enumerator that iterates through a collection. An object that can be used to iterate through the collection. 2 Adds an item to the . The object to add to the . The is read-only. Removes all items from the . The is read-only. Determines whether the contains a specific value. true if is found in the ; otherwise, false. The object to locate in the . Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. The zero-based index in at which copying begins. is null. is less than 0. The number of elements in the source is greater than the available space from to the end of the destination . Removes the first occurrence of a specific object from the . true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . The object to remove from the . The is read-only. Determines the index of a specific item in the . The index of if found in the list; otherwise, -1. The object to locate in the . Inserts an item to the at the specified index. The zero-based index at which should be inserted. The object to insert into the . is not a valid index in the . The is read-only. Removes the item at the specified index. The zero-based index of the item to remove. is not a valid index in the . The is read-only. Finds the using the given member expression. The the member is on. The member expression. The for the given expression, or null if not found. Finds the using the given member. The member. The for the given expression, or null if not found. The configuration data for the reference map. Gets or sets the header prefix to use. Gets the that the data is associated with. Gets the mapping this is a reference for. Initializes a new instance of the class. The member. The mapping this is a reference for. Flags for the type of members that can be used for auto mapping. No members. This is not a valid value and will cause an exception if used. Properties on a class. Fields on a class. Mapping for a constructor parameter. This may contain value type data, a constructor type map, or a reference map, depending on the type of the parameter. Gets the parameter map data. Gets or sets the map for a constructor type. Gets or sets the map for a reference type. Creates an instance of using the given information. The parameter being mapped. The constructor parameter data for the map. Gets the that the data is associated with. Gets or sets the type converter. Gets or sets the type converter options. Gets or sets the column index. Gets or sets the column name. Initializes a new instance of the class. The constructor parameter. Mapping info for a reference parameter mapping to a class. Gets the parameter reference map data. Initializes a new instance of the class. The parameter. The to use for the reference map. Appends a prefix to the header of each field of the reference parameter. The prefix to be prepended to headers of each reference parameter. The current Get the largest index for the members and references. The max index. The configuration data for the reference map. Gets or sets the header prefix to use. Gets the that the data is associated with. Gets the mapping this is a reference for. Initializes a new instance of the class. The parameter. The mapping this is a reference for. Options for trimming of fields. No trimming. Trims the whitespace around a field. Trims the whitespace inside of quotes around a field. Provides a means of reading a CSV file forward-only by using CsvReader. Gets the column with the specified index. The . The i. Gets the column with the specified name. The . The name. Gets a value indicating the depth of nesting for the current row. Gets a value indicating whether the data reader is closed. Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. Gets the number of columns in the current row. Initializes a new instance of the class. The CSV. Closes the Object. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Gets the value of the specified column as a Boolean. The zero-based column ordinal. The value of the column. Gets the 8-bit unsigned integer value of the specified column. The zero-based column ordinal. The 8-bit unsigned integer value of the specified column. Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset. The zero-based column ordinal. The index within the field from which to start the read operation. The buffer into which to read the stream of bytes. The index for buffer to start the read operation. The number of bytes to read. The actual number of bytes read. Gets the character value of the specified column. The zero-based column ordinal. The character value of the specified column. Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset. The zero-based column ordinal. The index within the row from which to start the read operation. The buffer into which to read the stream of bytes. The index for buffer to start the read operation. The number of bytes to read. The actual number of characters read. Returns an for the specified column ordinal. The index of the field to find. The for the specified column ordinal. Gets the data type information for the specified field. The index of the field to find. The data type information for the specified field. Gets the date and time data value of the specified field. The index of the field to find. The date and time data value of the specified field. Gets the fixed-position numeric value of the specified field. The index of the field to find. The fixed-position numeric value of the specified field. Gets the double-precision floating point number of the specified field. The index of the field to find. The double-precision floating point number of the specified field. Gets the information corresponding to the type of that would be returned from . The index of the field to find. The information corresponding to the type of that would be returned from . Gets the single-precision floating point number of the specified field. The index of the field to find. The single-precision floating point number of the specified field. Returns the GUID value of the specified field. The index of the field to find. The GUID value of the specified field. Gets the 16-bit signed integer value of the specified field. The index of the field to find. The 16-bit signed integer value of the specified field. Gets the 32-bit signed integer value of the specified field. The index of the field to find. The 32-bit signed integer value of the specified field. Gets the 64-bit signed integer value of the specified field. The index of the field to find. The 64-bit signed integer value of the specified field. Gets the name for the field to find. The index of the field to find. The name of the field or the empty string (""), if there is no value to return. Return the index of the named field. The name of the field to find. The index of the named field. Returns a that describes the column metadata of the . A that describes the column metadata. Gets the string value of the specified field. The index of the field to find. The string value of the specified field. Return the value of the specified field. The index of the field to find. The which will contain the field value upon return. Populates an array of objects with the column values of the current record. An array of to copy the attribute fields into. The number of instances of in the array. Return whether the specified field is set to null. The index of the field to find. true if the specified field is set to null; otherwise, false. Advances the data reader to the next result, when reading the results of batch SQL statements. true if there are more rows; otherwise, false. Advances the to the next record. true if there are more rows; otherwise, false. Reads fields from a . Gets the reading context. Gets a value indicating if the buffer is empty. True if the buffer is empty, otherwise false. Fills the buffer. True if there is more data left. False if all the data has been read. Fills the buffer. True if there is more data left. False if all the data has been read. Creates a new using the given and . The text reader. The configuration. Creates a new using the given , and leaveOpen flag. The text reader. The configuration. A value indicating if the should be left open when disposing. Gets the next char as an . Gets the field. This will append any reading progress. The current field. Appends the current reading progress. Move's the buffer position according to the given offset. The offset to move the buffer. Sets the start of the field to the current buffer position. An offset for the field start. The offset should be less than 1. Sets the end of the field to the current buffer position. An offset for the field start. The offset should be less than 1. Sets the raw record start to the current buffer position; An offset for the raw record start. The offset should be less than 1. Sets the raw record end to the current buffer position. An offset for the raw record end. The offset should be less than 1. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. True if the instance needs to be disposed of. Represents errors that occur in CsvHelper. Gets the context used when reading. Gets the context used when writing. Initializes a new instance of the CsvHelperException class. Initializes a new instance of the CsvHelperException class. The message that describes the error. Initializes a new instance of the CsvHelperException class. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The reading context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Initializes a new instance of the class with a specified error message. The writing context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The writing context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Parses a CSV file. Gets the reading context. Gets the configuration. Gets the . Creates a new parser using the given . The with the CSV file data. Creates a new parser using the given . The with the CSV file data. true to leave the reader open after the CsvReader object is disposed, otherwise false. Creates a new parser using the given and . The with the CSV file data. The configuration. Creates a new parser using the given and . The with the CSV file data. The configuration. true to leave the reader open after the CsvReader object is disposed, otherwise false. Creates a new parser using the given . The field reader. Reads a record from the CSV file. A of fields for the record read. Reads a record from the CSV file asynchronously. A of fields for the record read. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. True if the instance needs to be disposed of. Reads a line of the CSV file. The CSV line. Reads a line of the CSV file. The CSV line. Reads a blank line. This accounts for empty lines and commented out lines. Reads a blank line. This accounts for empty lines and commented out lines. Reads until a delimiter or line ending is found. True if the end of the line was found, otherwise false. Reads until a delimiter or line ending is found. True if the end of the line was found, otherwise false. Reads until the field is not quoted and a delimiter is found. True if the end of the line was found, otherwise false. Reads until the field is not quoted and a delimiter is found. True if the end of the line was found, otherwise false. Reads until the delimiter is done. True if a delimiter was read. False if the sequence of chars ended up not being the delimiter. Reads until the delimiter is done. True if a delimiter was read. False if the sequence of chars ended up not being the delimiter. Reads until the line ending is done. The field start offset. Reads until the line ending is done. The field start offset. Reads until a non-space character is found. True if there is more data to read. False if the end of the file has been reached. Reads until a non-space character is found. True if there is more data to read. False if the end of the file has been reached. Reads data that was parsed from . Gets the reading context. Gets the configuration. Gets the parser. Creates a new CSV reader using the given . The reader. Creates a new CSV reader using the given . The reader. true to leave the reader open after the CsvReader object is disposed, otherwise false. Creates a new CSV reader using the given and and as the default parser. The reader. The configuration. Creates a new CSV reader using the given . The reader. The configuration. true to leave the reader open after the CsvReader object is disposed, otherwise false. Creates a new CSV reader using the given . The used to parse the CSV file. Reads the header record without reading the first row. True if there are more records, otherwise false. Validates the header. A header is bad if all the mapped members don't match. If the header is not valid, a will be thrown. The type to validate the header against. Validates the header. A header is bad if all the mapped members don't match. If the header is not valid, a will be thrown. The type to validate the header against. Validates the header against the given map. The map to validate against. Advances the reader to the next record. This will not read headers. You need to call then for the headers to be read. True if there are more records, otherwise false. Advances the reader to the next record. This will not read headers. You need to call then for the headers to be read. True if there are more records, otherwise false. Gets the raw field at position (column) index. The zero based index of the field. The raw field. Gets the raw field at position (column) name. The named index of the field. The raw field. Gets the raw field at position (column) name. The named index of the field. The zero based index of the field. The raw field. Gets the raw field at position (column) index. The zero based index of the field. The raw field. Gets the raw field at position (column) name. The named index of the field. The raw field. Gets the raw field at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The named index of the field. The zero based index of the instance of the field. The raw field. Gets the field converted to using the specified . The type of the field. The index of the field. The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The zero based index of the instance of the field. The field converted to . Gets the field converted to using the specified . The type of the field. The index of the field. The used to convert the field to . The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The used to convert the field to . The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The zero based index of the instance of the field. The used to convert the field to . The field converted to . Gets the field converted to T at position (column) index. The of the field. The zero based index of the field. The field converted to T. Gets the field converted to T at position (column) name. The of the field. The named index of the field. The field converted to T. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The named index of the field. The zero based index of the instance of the field. Gets the field converted to T at position (column) index using the given . The of the field. The zero based index of the field. The used to convert the field to T. The field converted to T. Gets the field converted to T at position (column) name using the given . The of the field. The named index of the field. The used to convert the field to T. The field converted to T. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The named index of the field. The zero based index of the instance of the field. The used to convert the field to T. The field converted to T. Gets the field converted to T at position (column) index using the given . The of the field. The used to convert the field to T. The zero based index of the field. The field converted to T. Gets the field converted to T at position (column) name using the given . The of the field. The used to convert the field to T. The named index of the field. The field converted to T. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The of the field. The used to convert the field to T. The named index of the field. The zero based index of the instance of the field. The field converted to T. Gets the field converted to T at position (column) index. The of the field. The zero based index of the field. The field converted to type T. A value indicating if the get was successful. Gets the field converted to T at position (column) name. The of the field. The named index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The of the field. The named index of the field. The zero based index of the instance of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index using the specified . The of the field. The zero based index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The zero based index of the instance of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index. The of the field. The zero based index of the field. The field converted to type T. A value indicating if the get was successful. Gets the field converted to T at position (column) name. The of the field. The named index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The named index of the field. The zero based index of the instance of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index using the specified . The of the field. The zero based index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The zero based index of the instance of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index using the specified . The of the field. The used to convert the field to T. The zero based index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The used to convert the field to T. The named index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The used to convert the field to T. The named index of the field. The zero based index of the instance of the field. The field converted to T. A value indicating if the get was successful. Gets the record converted into T. The of the record. The record converted to T. Get the record converted into T. The of the record. The anonymous type definition to use for the record. The record converted to T. Gets the record. The of the record. The record. Gets all the records in the CSV file and converts each to T. The Read method should not be used when using this. The of the record. An of records. Gets all the records in the CSV file and converts each to T. The read method should not be used when using this. The of the record. The anonymous type definition to use for the records. An of records. Gets all the records in the CSV file and converts each to T. The Read method should not be used when using this. The of the record. An of records. Enumerates the records hydrating the given record instance with row data. The record instance is re-used and not cleared on each enumeration. This only works for streaming rows. If any methods are called on the projection that force the evaluation of the IEnumerable, such as ToList(), the entire list will contain the same instance of the record, which is the last row. The type of the record. The record to fill each enumeration. An of records. Gets the index of the field at name if found. The name of the field to get the index for. The index of the field if there are multiple fields with the same name. A value indicating if the call was initiated from a TryGet. The index of the field if found, otherwise -1. Thrown if there is no header record. Thrown if there isn't a field with name. Gets the index of the field at name if found. The possible names of the field to get the index for. The index of the field if there are multiple fields with the same name. A value indicating if the call was initiated from a TryGet. A value indicating if the call was initiated for an optional field. The index of the field if found, otherwise -1. Thrown if there is no header record. Thrown if there isn't a field with name. Determines if the member for the can be read. The member map. A value indicating of the member can be read. True if it can, otherwise false. Determines if the member for the can be read. The reference map. A value indicating of the member can be read. True if it can, otherwise false. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. True if the instance needs to be disposed of. Checks if the reader has been read yet. Parses the named indexes from the header record. Defines methods used to serialize data into a CSV file. Gets the writing context. Gets the configuration. Creates a new serializer using the given . The to write the CSV file data to. Creates a new serializer using the given . The to write the CSV file data to. true to leave the reader open after the CsvReader object is disposed, otherwise false. Creates a new serializer using the given and . The to write the CSV file data to. The configuration. Creates a new serializer using the given and . The to write the CSV file data to. The configuration. true to leave the reader open after the CsvReader object is disposed, otherwise false. Writes a record to the CSV file. The record to write. Writes a record to the CSV file. The record to write. Writes a new line to the CSV file. Writes a new line to the CSV file. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. True if the instance needs to be disposed of. Sanitizes the field to prevent injection. The field to sanitize. Used to write CSV files. Gets the writing context. Gets the configuration. Creates a new CSV writer using the given . The writer used to write the CSV file. Creates a new CSV writer using the given . The writer used to write the CSV file. true to leave the writer open after the CsvWriter object is disposed, otherwise false. Creates a new CSV writer using the given . The use to write the CSV file. The configuration. Creates a new CSV writer using the given . The use to write the CSV file. The configuration. true to leave the writer open after the CsvWriter object is disposed, otherwise false. Creates a new CSV writer using the given . The serializer. Writes a field that has already been converted to a from an . If the field is null, it won't get written. A type converter will always return a string, even if field is null. If the converter returns a null, it means that the converter has already written data, and the returned value should not be written. The converted field to write. Writes the field to the CSV file. The field may get quotes added to it. When all fields are written for a record, must be called to complete writing of the current record. The field to write. Writes the field to the CSV file. This will ignore any need to quote and ignore and just quote based on the shouldQuote parameter. When all fields are written for a record, must be called to complete writing of the current record. The field to write. True to quote the field, otherwise false. Writes the field to the CSV file. When all fields are written for a record, must be called to complete writing of the current record. The type of the field. The field to write. Writes the field to the CSV file. When all fields are written for a record, must be called to complete writing of the current record. The type of the field. The field to write. The converter used to convert the field into a string. Writes the field to the CSV file using the given . When all fields are written for a record, must be called to complete writing of the current record. The type of the field. The type of the converter. The field to write. Serializes the row to the . Serializes the row to the . Ends writing of the current record and starts a new record. This automatically flushes the writer. Ends writing of the current record and starts a new record. This automatically flushes the writer. Writes a comment. The comment to write. Writes the header record from the given members. The type of the record. Writes the header record from the given members. The type of the record. Writes the header record for the given dynamic object. The dynamic record to write. Writes the record to the CSV file. The type of the record. The record to write. Writes the list of records to the CSV file. The list of records to write. Writes the list of records to the CSV file. Record type. The list of records to write. Checks if the member can be written. The member map that we are checking. A value indicating if the member can be written. True if the member can be written, otherwise false. Gets the type for the record. If the generic type is an object due to boxing, it will call GetType() on the record itself. The record type. The record. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. True if the instance needs to be disposed of. Creates dynamic records. Initializes a new instance. The reader. Creates a of type that will create a record of the given type using the current reader row. The record type. Creates a dynamic record of the current reader row. Write dynamic records. Initializes a new instance using the given writer. The writer. Creates a of type that will write the given record using the current writer row. The record type. The record. Writes expando objects. Initializes a new instance using the given writer. The writer. Creates a of type that will write the given record using the current writer row. The record type. The record. Manages expression creation. Initializes a new instance using the given reader. The reader. Initializes a new instance using the given writer. The writer. Creates the constructor arguments used to create a type. The mapping to create the arguments for. The arguments that will be added to the mapping. Creates the member assignments for the given . The mapping to create the assignments for. The assignments that will be added to from the mapping. Creates an expression the represents getting the field for the given member and converting it to the member's type. The mapping for the member. Creates a member expression for the given member on the record. This will recursively traverse the mapping to find the member and create a safe member accessor for each level as it goes. The current member expression. The mapping to look for the member to map on. The member map to look for on the mapping. An Expression to access the given member. Creates an instance of the given type using (in turn using the ObjectResolver), then assigns the given member assignments to that instance. The type of the record we're creating. The member assignments that will be assigned to the created instance. A representing the instance creation and assignments. Creates objects. Initializes a new instance using the given reader. Creates a of type that will create a record of the given type using the current reader row. The record type. Writes objects. Initializes a new instance using the given writer. The writer. Creates a of type that will write the given record using the current writer row. The record type. The record. Creates primitive records. Initializes a new instance using the given reader. The reader. Creates a of type that will create a record of the given type using the current reader row. The record type. Writes primitives. Initializes a new instance using the given writer. The writer. Creates a of type that will write the given record using the current writer row. The record type. The record. Base implementation for classes that create records. The reader. The expression manager. Initializes a new instance using the given reader. The reader. Create a record of the given type using the current row. The record type. Create a record of the given type using the current row. The record type. Gets the delegate to create a record for the given record type. If the delegate doesn't exist, one will be created and cached. The record type. Creates a of type that will create a record of the given type using the current reader row. The record type. Factory to create record creators. Initializes a new instance using the given reader. The reader. Creates a record creator for the given record type. The record type. Hydrates members of an existing record. Creates a new instance using the given reader. The reader. Hydrates members of the given record using the current reader row. The record type. The record. Gets the action delegate used to hydrate a custom class object's members with data from the reader. The record type. Creates the action delegate used to hydrate a record's members with data from the reader. The record type. Manages record manipulation. Initializes a new instance using the given reader. Initializes a new instance using the given writer. The writer. Creates a record of the given type using the current reader row. The type of record to create. Creates a record of the given type using the current reader row. The type of record to create. Hydrates the given record using the current reader row. The type of the record. The record to hydrate. Writes the given record to the current writer row. The type of the record. The record. Base implementation for classes that write records. Gets the writer. The expression manager. Initializes a new instance using the given writer. The writer. Writes the record to the current row. Type of the record. The record. Gets the delegate to write the given record. If the delegate doesn't exist, one will be created and cached. The record type. The record. Creates a of type that will write the given record using the current writer row. The record type. The record. Combines the delegates into a single multicast delegate. This is needed because Silverlight doesn't have the Delegate.Combine( params Delegate[] ) overload. The delegates to combine. A multicast delegate combined from the given delegates. Factory to create record writers. Initializes a new instance using the given writer. The writer. Creates a new record writer for the given record. The type of the record. The record. Creates CsvHelper classes. Creates an . The text reader to use for the csv parser. The configuration to use for the csv parser. The created parser. Creates an . The text reader to use for the csv parser. The created parser. Creates an . The text reader to use for the csv reader. The configuration to use for the reader. The created reader. Creates an . The text reader to use for the csv reader. The created reader. Creates an . The parser used to create the reader. The created reader. Creates an . The text writer to use for the csv writer. The configuration to use for the writer. The created writer. Creates an . The text writer to use for the csv writer. The created writer. Access point for fluent interface to dynamically build a Type you will be making a class map for Options to further configure the Represents a user supplied field validation failure. Gets the field that failed validation. Initializes a new instance of the class. The reading context. The field that failed validation. Initializes a new instance of the class with a specified error message. The reading context. The field that failed validation. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The field that failed validation. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Represents a header validation failure. Gets the header names that are mapped to a CSV field that couldn't be found. Gets the header name index that is mapped to a CSV field that couldn't be found. The index is used when a CSV header has multiple header names with the same value. Initializes a new instance of the class. The reading context. The header names that are mapped to a CSV field that couldn't be found. The header name index that is mapped to a CSV field that couldn't be found. Initializes a new instance of the class with a specified error message. The reading context. The header names that are mapped to a CSV field that couldn't be found. The header name index that is mapped to a CSV field that couldn't be found. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The header names that are mapped to a CSV field that couldn't be found. The header name index that is mapped to a CSV field that couldn't be found. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Defines methods used to create CsvHelper classes. Creates an . The text reader to use for the csv parser. The configuration to use for the csv parser. The created parser. Creates an . The text reader to use for the csv parser. The created parser. Creates an . The text reader to use for the csv reader. The configuration to use for the reader. The created reader. Creates an . The text reader to use for the csv reader. The created reader. Creates an . The parser used to create the reader. The created reader. Creates an . The text writer to use for the csv writer. The configuration to use for the writer. The created writer. Creates an . The text writer to use for the csv writer. The created writer. Provides a fluent interface for dynamically creating s Type of class to map Next available options Defines methods used to read a field in a CSV file. Gets the reading context. Gets a value indicating if the buffer is empty. True if the buffer is empty, otherwise false. Fills the buffer. True if there is more data left. False if all the data has been read. Fills the buffer asynchronously. True if there is more data left. False if all the data has been read. Gets the next char as an . Gets the field. This will append any reading progress. The current field. Appends the current reading progress. Move's the buffer position according to the given offset. The offset to move the buffer. Sets the start of the field to the current buffer position. An offset for the field start. The offset should be less than 1. Sets the end of the field to the current buffer position. An offset for the field start. The offset should be less than 1. Sets the raw record start to the current buffer position; An offset for the raw record start. The offset should be less than 1. Sets the raw record end to the current buffer position. An offset for the raw record end. The offset should be less than 1. Defines the functionality of a class that creates objects from a given type. A value indicating if the resolver's returns false that an object will still be created using CsvHelper's object creation. True to fallback, otherwise false. Default value is true. A value indicating if the resolver is able to resolve the given type. True if the type can be resolved, otherwise false. The function that creates an object from a given type. Creates an object from the given type using the function. If is false, the object will be created using CsvHelper's default object creation. If is false, an exception is thrown. The type to create an instance from. The created object may not be the same type as the given type. Constructor arguments used to create the type. Creates an object from the given type using the function. If is false, the object will be created using CsvHelper's default object creation. If is false, an exception is thrown. The type to create an instance from. The created object may not be the same type as the given type. Constructor arguments used to create the type. Defines methods used the parse a CSV file. Gets the reading context. Gets the configuration. Gets the . Reads a record from the CSV file. A of fields for the record read. Reads a record from the CSV file asynchronously. A of fields for the record read. Defines methods used to read parsed data from a CSV file. Gets the parser. Reads the header record without reading the first row. True if there are more records, otherwise false. Advances the reader to the next record. This will not read headers. You need to call then for the headers to be read. True if there are more records, otherwise false. Advances the reader to the next record. This will not read headers. You need to call then for the headers to be read. True if there are more records, otherwise false. Gets all the records in the CSV file and converts each to T. The Read method should not be used when using this. The of the record. An of records. Gets all the records in the CSV file and converts each to T. The read method should not be used when using this. The of the record. The anonymous type definition to use for the records. An of records. Gets all the records in the CSV file and converts each to T. The Read method should not be used when using this. The of the record. An of records. Enumerates the records hydrating the given record instance with row data. The record instance is re-used and not cleared on each enumeration. This only works for streaming rows. If any methods are called on the projection that force the evaluation of the IEnumerable, such as ToList(), the entire list will contain the same instance of the record, which is the last row. The type of the record. The record to fill each enumeration. An of records. Defines methods used to read parsed data from a CSV file row. Gets the reading context. Gets or sets the configuration. Gets the raw field at position (column) index. The zero based index of the field. The raw field. Gets the raw field at position (column) name. The named index of the field. The raw field. Gets the raw field at position (column) name. The named index of the field. The zero based index of the field. The raw field. Gets the raw field at position (column) index. The zero based index of the field. The raw field. Gets the raw field at position (column) name. The named index of the field. The raw field. Gets the raw field at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The named index of the field. The zero based index of the instance of the field. The raw field. Gets the field converted to using the specified . The type of the field. The index of the field. The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The zero based index of the instance of the field. The field converted to . Gets the field converted to using the specified . The type of the field. The index of the field. The used to convert the field to . The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The used to convert the field to . The field converted to . Gets the field converted to using the specified . The type of the field. The named index of the field. The zero based index of the instance of the field. The used to convert the field to . The field converted to . Gets the field converted to T at position (column) index. The of the field. The zero based index of the field. The field converted to T. Gets the field converted to T at position (column) name. The of the field. The named index of the field. The field converted to T. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The named index of the field. The zero based index of the instance of the field. Gets the field converted to T at position (column) index using the given . The of the field. The zero based index of the field. The used to convert the field to T. The field converted to T. Gets the field converted to T at position (column) name using the given . The of the field. The named index of the field. The used to convert the field to T. The field converted to T. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The of the field. The named index of the field. The zero based index of the instance of the field. The used to convert the field to T. The field converted to T. Gets the field converted to T at position (column) index using the given . The of the field. The used to convert the field to T. The zero based index of the field. The field converted to T. Gets the field converted to T at position (column) name using the given . The of the field. The used to convert the field to T. The named index of the field. The field converted to T. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The of the field. The used to convert the field to T. The named index of the field. The zero based index of the instance of the field. The field converted to T. Gets the field converted to T at position (column) index. The of the field. The zero based index of the field. The field converted to type T. A value indicating if the get was successful. Gets the field converted to T at position (column) name. The of the field. The named index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The of the field. The named index of the field. The zero based index of the instance of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index using the specified . The of the field. The zero based index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The zero based index of the instance of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index. The of the field. The zero based index of the field. The field converted to type T. A value indicating if the get was successful. Gets the field converted to T at position (column) name. The of the field. The named index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name and the index instance of that field. The index is used when there are multiple columns with the same header name. The named index of the field. The zero based index of the instance of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index using the specified . The of the field. The zero based index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The named index of the field. The zero based index of the instance of the field. The used to convert the field to T. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) index using the specified . The of the field. The used to convert the field to T. The zero based index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The used to convert the field to T. The named index of the field. The field converted to T. A value indicating if the get was successful. Gets the field converted to T at position (column) name using the specified . The of the field. The used to convert the field to T. The named index of the field. The zero based index of the instance of the field. The field converted to T. A value indicating if the get was successful. Gets the record converted into T. The of the record. The record converted to T. Get the record converted into T. The of the record. The anonymous type definition to use for the record. The record converted to T. Gets the record. The of the record. The record. Defines methods used to serialize data into a CSV file. Gets the writing context. Gets the configuration. Writes a record to the CSV file. The record to write. Writes a record to the CSV file. The record to write. Writes a new line to the CSV file. Writes a new line to the CSV file. Defines methods used to write to a CSV file. Serializes the row to the . Serializes the row to the . Ends writing of the current record and starts a new record. This automatically flushes the writer. Ends writing of the current record and starts a new record. This automatically flushes the writer. Writes the list of records to the CSV file. The list of records to write. Writes the list of records to the CSV file. Record type. The list of records to write. Defines methods used to write a CSV row. Gets the writing context. Gets or sets the configuration. Writes a field that has already been converted to a from an . If the field is null, it won't get written. A type converter will always return a string, even if field is null. If the converter returns a null, it means that the converter has already written data, and the returned value should not be written. The converted field to write. Writes the field to the CSV file. The field may get quotes added to it. When all fields are written for a record, must be called to complete writing of the current record. The field to write. Writes the field to the CSV file. This will ignore any need to quote and ignore and just quote based on the shouldQuote parameter. When all fields are written for a record, must be called to complete writing of the current record. The field to write. True to quote the field, otherwise false. Writes the field to the CSV file. When all fields are written for a record, must be called to complete writing of the current record. The type of the field. The field to write. Writes the field to the CSV file. When all fields are written for a record, must be called to complete writing of the current record. The type of the field. The field to write. The converter used to convert the field into a string. Writes the field to the CSV file using the given . When all fields are written for a record, must be called to complete writing of the current record. The type of the field. The type of the converter. The field to write. Writes a comment. The comment to write. Writes the header record from the given members. The type of the record. Writes the header record from the given members. The type of the record. Writes the record to the CSV file. The type of the record. The record to write. Represents an error caused because a field is missing in the header while reading a CSV file. Initializes a new instance of the class. The reading context. Initializes a new instance of the class with a specified error message. The reading context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Creates objects from a given type. Gets or sets the current resolver. A value indicating if the resolver's returns false that an object will still be created using CsvHelper's object creation. True to fallback, otherwise false. Default value is true. A function that returns a value indicating if the resolver is able to resolve the given type. True if the type can be resolved, otherwise false. The function that creates an object from a given type. Creates an instance of the object resolver using default values. Creates an instance of the object resolver using the given can create function and create function. A function that returns a value indicating if the resolver is able to resolve the given type. True if the type can be resolved, otherwise false. The function that creates an object from a given type. A value indicating if the resolver's returns false that an object will still be created using CsvHelper's object creation. True to fallback, otherwise false. Default value is true. Creates an object from the given type using the function. If is false, the object will be created using CsvHelper's default object creation. If is false, an exception is thrown. The type to create an instance from. The created object may not be the same type as the given type. Constructor arguments used to create the type. Creates an object from the given type using the function. If is false, the object will be created using CsvHelper's default object creation. If is false, an exception is thrown. The type to create an instance from. The created object may not be the same type as the given type. Constructor arguments used to create the type. Represents errors that occur while parsing a CSV file. Initializes a new instance of the class. The reading context. Initializes a new instance of the class with a specified error message. The reading context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Represents errors that occur while reading a CSV file. Initializes a new instance of the class. The reading context. Initializes a new instance of the class with a specified error message. The reading context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. CSV reading state. Gets the raw record builder. Gets the field builder. Gets the record builder. Gets the named indexes. Gets the named indexes cache. Gets the type converter options cache. Gets the create record functions. Gets the hydrate record actions. Gets the reusable member map data. Gets the that is read from. Gets a value indicating if the should be left open when disposing. Gets the buffer used to store data from the . Gets the buffer position. Gets the field start position. Gets the field end position. Gets the raw record start position. Gets the raw record end position. Gets the number of characters read from the . Gets the character position. Gets the byte position. Gets a value indicating if the field is bad. True if the field is bad, otherwise false. A field is bad if a quote is found in a field that isn't escaped. Gets the record. Gets the row of the CSV file that the parser is currently on. Gets the row of the CSV file that the parser is currently on. This is the actual file row. Gets a value indicating if reading has begun. Gets the header record. Gets the current index. Gets the column count. Gets the configuration. Gets the configuration. Gets all the characters of the record including quotes, delimiters, and line endings. Gets the field. Initializes a new instance. The reader. The configuration. A value indicating if the TextReader should be left open when disposing. Clears the specified caches. The caches to clear. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. True if the instance needs to be disposed of. Builds CSV records. The number of records. The total record capacity. Creates a new using defaults. Creates a new using the given capacity. The initial capacity. Adds a new field to the . The field to add. The current instance of the . Clears the records. The current instance of the . Returns the record as an . The record as an . Extensions to help with reflection. Gets the type from the member. The member to get the type from. The type. Gets a member expression for the member. The member to get the expression for. The member expression. The member expression. Gets a value indicating if the given type is anonymous. True for anonymous, otherwise false. The type. Gets a value indicating if the given type has a parameterless constructor. True if it has a parameterless constructor, otherwise false. The type. Gets a value indicating if the given type has any constructors. The type. Gets the constructor that contains the most parameters. The type. Gets a value indicating if the type is a user defined struct. True if it is a user defined struct, otherwise false. The type. Common reflection tasks. Creates an instance of type T using the current . The type of instance to create. The constructor arguments. A new instance of type T. Creates an instance of the specified type using the current . The type of instance to create. The constructor arguments. A new instance of the specified type. Creates an instance of the specified type without using the current . The type of instance to create. The constructor arguments. A new instance of the specified type. Gets the from the type where the property was declared. The type the property belongs to. The property to search. Flags for how the property is retrieved. Gets the property from the expression. The type of the model. The type of the property. The expression. The for the expression. Gets the member inheritance chain as a stack. The type of the model. The type of the property. The member expression. The inheritance chain for the given member expression as a stack. Converts an to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Creates a new ByteArrayConverter using the given . The options. Converts the object to a string. The object to convert to a string. The for the current record. The for the member being written. The string representation of the object. Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Options for converting byte arrays. No options. Hexadecimal encoding. Base64 encoding. Use dashes in between hex values. Prefix hex number with 0x. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Converts the object to a string. The object to convert to a string. The for the current record. The for the member being written. The string representation of the object. Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Creates a new for the given . The type of the Enum. Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Throws an exception when used. This is here so that it's apparent that there is no support for type conversion. A custom converter will need to be created to have a field convert to and from an IEnumerable. Throws an exception. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Throws an exception. The object to convert to a string. The for the current record. The for the member being written. The string representation of the object. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Converts the object to a string. The object to convert to a string. The for the current record. The for the member being written. The string representation of the object. Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Converts the object to a string. The object to convert to a string. The string representation of the object. Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts an to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts objects to and from strings. Converts the object to a string. The object to convert to a string. The for the current record. The for the member being written. The string representation of the object. Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Gets the type of the nullable. The type of the nullable. Gets the underlying type of the nullable. The underlying type. Gets the type converter for the underlying type. The type converter. Creates a new for the given . The nullable type. The type converter factory. type is not a nullable type. Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts the object to a string. The object to convert to a string. The string representation of the object. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Caches s for a given type. Initializes the class. Adds the for the given . The type the converter converts. The type converter that converts the type. Adds the for the given . The type the converter converts. The type converter that converts the type. Removes the for the given . The type to remove the converter for. Removes the for the given . The type to remove the converter for. Gets the converter for the given . The type to get the converter for. The for the given . Gets the converter for the given member. If an attribute is found on the member, that will be used, otherwise the cache will be used. The member to get the converter for. Gets the converter for the given . The type to get the converter for. The for the given . Represents errors that occur while reading a CSV file. The text used in ConvertFromString. The value used in ConvertToString. The type converter. The member map data used in ConvertFromString and ConvertToString. Initializes a new instance of the class. The type converter. The member map data. The text. The reading context. Initializes a new instance of the class. The type converter. The member map data. The value. The writing context. Initializes a new instance of the class with a specified error message. The type converter. The member map data. The text. The reading context. The message that describes the error. Initializes a new instance of the class with a specified error message. The type converter. The member map data. The value. The writing context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The type converter. The member map data. The text. The reading context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The type converter. The member map data. The value. The writing context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Options used when doing type conversion. Gets or sets the culture info. Gets or sets the date time style. Gets or sets the time span style. Gets or sets the number style. Gets or sets the string format. Gets the list of values that can be used to represent a boolean of true. Gets the list of values that can be used to represent a boolean of false. Gets the list of values that can be used to represent a null value. Merges TypeConverterOptions by applying the values of sources in order on to each other. The first object is the source object. The sources that will be applied. The updated source object. Caches for a given type. Adds the for the given . The type the options are for. The options. Adds the for the given . The type the options are for. The options. Removes the for the given type. The type to remove the options for. Removes the for the given type. The type to remove the options for. Get the for the given . The type the options are for. The options for the given type. Get the for the given . The type the options are for. The options for the given type. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Converts a to and from a . Converts the string to an object. The string to convert to an object. The for the current record. The for the member being created. The object created from the string. Represents a user supplied validation failure. Initializes a new instance of the class. The reading context. Initializes a new instance of the class with a specified error message. The reading context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The reading context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Represents errors that occur while writing a CSV file. Initializes a new instance of the class. The writing context. Initializes a new instance of the class with a specified error message. The writing context. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The writing context. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. CSV writing state. Gets the type actions. Gets the type converter options. Gets or sets the reusable member map data. Gets the writer configuration. Gets the serializer configuration. Gets the . Gets a value indicating if the should be left open when disposing. Gets the current row. Get the current record; Gets a value indicating if the header has been written. Gets a value indicating if a record has been written. Initializes a new instance. The writer. The configuration. A value indicating if the TextWriter should be left open. Clears the specified caches. The caches to clear. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. True if the instance needs to be disposed of.