FileHelpers icon indicating copy to clipboard operation
FileHelpers copied to clipboard

Allow sub class converter (with a recursive Recordinfo)

Open MarcosMeli opened this issue 10 years ago • 0 comments

For Example:

[DelimiterRecords(";")] 
class internalClass 
{ 
string A; 
string B; 
[FieldConverter(ConverterKind.Date, "dd.MM.yy")] 
DateTime C; 

[FieldIgnored]
string D; 
[FieldIgnored]
int whatEver; 
... 
} 

[DelimiterRecords(";")] 
class MyClass 
{ 
string someOtherInfo; 
string maybeAnotherThing; 

[FieldAsClassConverter] 
[FieldArrayLength(10)] 
internalClass [] internalInfo; 
}

MarcosMeli avatar Jun 29 '15 01:06 MarcosMeli