Timeline for Code to initialize a .NET object from a CSV file
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2018 at 20:13 | comment | added | Transformer |
hi, does this create C# objects/classes at runtime from CSV files. In my case, I dont know the headers prior, so I have to discover and create this at runtime. Will this help me.. & does this create the func needed, if (propertyType != typeof(string)) { // (int)Coerce(fields[index], typeof(int)) value = Expression.Convert(Expression.Call(getConverter(), value, Expression.Constant(propertyType)), propertyType); }
|
|
Mar 22, 2018 at 14:29 | history | edited | Nkosi | CC BY-SA 3.0 |
added 64 characters in body
|
Mar 22, 2018 at 14:12 | history | edited | Nkosi | CC BY-SA 3.0 |
added 700 characters in body
|
Mar 22, 2018 at 12:50 | history | answered | Nkosi | CC BY-SA 3.0 |