Share state for CsvHelper.
- Namespace
- CsvHelper
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["CsvContext"]
class Type type-node
Syntax
public class CsvContext
Constructors
Name | Summary |
---|---|
CsvContext |
Initializes a new instance of the CsvContext class.
|
CsvContext |
Initializes a new instance of the CsvContext class.
|
CsvContext |
Initializes a new instance of the CsvContext class.
|
CsvContext |
Initializes a new instance of the CsvContext class.
|
Properties
Name | Property Type | Summary |
---|---|---|
Configuration | CsvConfiguration |
Gets the configuration.
|
Maps | ClassMapCollection |
The configured
ClassMap s.
|
Parser | IParser |
Gets the parser.
|
Reader | IReader |
Gets the reader.
|
TypeConverterCache | TypeConverterCache |
Gets or sets the
TypeConverterOptionsCache .
|
Type |
Type |
Gets or sets the
TypeConverterOptionsCache .
|
Writer | IWriter |
Gets the writer.
|
Methods
Name | Return Value | Summary |
---|---|---|
AutoMap |
ClassMap |
Generates a
ClassMap for the type.
|
AutoMap |
ClassMap |
Generates a
ClassMap for the type.
|
RegisterClassMap |
void |
Registers the class map.
|
RegisterClassMap |
ClassMap |
Use a
ClassMap<TClass> to configure mappings.
When using a class map, no members are mapped by default.
Only members specified in the mapping are used.
|
RegisterClassMap |
TMap |
Use a
ClassMap<TClass> to configure mappings.
When using a class map, no members are mapped by default.
Only member specified in the mapping are used.
|
UnregisterClassMap |
void |
Unregisters all class maps.
|
UnregisterClassMap |
void |
Unregisters the class map.
|
UnregisterClassMap |
void |
Unregisters the class map.
|