TypeConverterOptionsCache Class
Caches TypeConverterOptions for a given type.
Namespace
CsvHelper.TypeConversion
Base Types
  • object
graph BT Type-->Base0["object"] Type["TypeConverterOptionsCache"] class Type type-node

Syntax

public class TypeConverterOptionsCache

Methods

Name Return Value Summary
AddOptions(Type, TypeConverterOptions) void
Adds the TypeConverterOptions for the given Type.
AddOptions(TypeConverterOptions) void
Adds the given TypeConverterOptions to all registered types.
AddOptions<T>(TypeConverterOptions) void
Adds the TypeConverterOptions for the given Type.
GetOptions(Type) TypeConverterOptions
Get the TypeConverterOptions for the given Type.
GetOptions<T>() TypeConverterOptions
Get the TypeConverterOptions for the given Type.
RemoveOptions(Type) void
Removes the TypeConverterOptions for the given type.
RemoveOptions<T>() void
Removes the TypeConverterOptions for the given type.