CacheFieldsAttribute Class
Cache fields that are created when parsing.
Namespace
CsvHelper.Configuration.Attributes
Interfaces
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type-.->Interface0["IClassMapper"] click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper" Type["CacheFieldsAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class CacheFieldsAttribute : Attribute, IClassMapper

Attributes

Type Description
AttributeUsage

Constructors

Name Summary
CacheFieldsAttribute(bool) Cache fields that are created when parsing.

Properties

Name Property Type Summary
CacheFields bool
Cache fields that are created when parsing.

Methods

Name Return Value Summary
ApplyTo(CsvConfiguration) void
Applies configuration.