Holds the default callback methods for delegate members of
CsvHelper.Configuration.Configuration
.- Namespace
- CsvHelper
.Configuration - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ConfigurationFunctions"]
class Type type-node
Syntax
public static class ConfigurationFunctions
Methods
Name | Return Value | Summary |
---|---|---|
BadDataFound |
void |
Throws a
BadDataException .
static
|
GetConstructor |
ConstructorInfo |
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.
static
|
GetDelimiter |
string |
Detects the delimiter based on the given text.
Return the detected delimiter or null if one wasn't found.
static
|
Get |
string |
Returns the header name ran through
PrepareHeaderForMatch(PrepareHeaderForMatchArgs) .
If no header exists, property names will be Field1, Field2, Field3, etc.
static
|
HeaderValidated |
void |
Throws a
ValidationException if is not empty.
static
|
MissingFieldFound |
void |
Throws a
MissingFieldException .
static
|
Prepare |
string |
Returns the
as given.
static
|
Reading |
bool |
Throws the given
.
static
|
ShouldQuote |
bool |
Returns true if the field contains a
Quote ,
starts with a space, ends with a space, contains \r or \n, or contains
the Delimiter .
static
|
Should |
bool |
Returns
true if args.ParameterType.ParameterType:
1. does not have a parameterless constructor
2. has a constructor
3. is not a value type
4. is not a primitive
5. is not an enum
6. is not an interface
7. TypeCode is an Object.
static
|