Class ClassMapCollection
- Namespace
- CsvHelper.Configuration
- Assembly
- CsvHelper.dll
Collection that holds CsvClassMaps for record types.
public class ClassMapCollection
- Inheritance
-
ClassMapCollection
- Inherited Members
Constructors
ClassMapCollection(CsvContext)
Creates a new instance using the given configuration.
public ClassMapCollection(CsvContext context)
Parameters
context
CsvContextThe context.
Properties
this[Type]
Gets the ClassMap for the specified record type.
public virtual ClassMap? this[Type type] { get; }
Parameters
type
TypeThe record type.
Property Value
Methods
Find<T>()
Finds the ClassMap for the specified record type.
public virtual ClassMap<T>? Find<T>()
Returns
Type Parameters
T
The record type.