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.
- Namespace
- CsvHelper
.Configuration - Containing Type
- Configuration
Functions
Syntax
public static bool ShouldUseConstructorParameters(ShouldUseConstructorParametersArgs args)
Parameters
Name | Type | Description |
---|---|---|
args | Should |
Return Value
Type | Description |
---|---|
bool |