static bool IsComplex(CsvMember member) { // TODO: improve return !member.Type.IsValueType; }
static bool IsSimple(CsvMember member) { // TODO: improve return member.Type.IsValueType || member.Type == typeof(string); }
static bool IsEnumerable(CsvMember member) { // TODO: change to IEnumerable<T> return typeof (IEnumerable).IsAssignableFrom(member.Type); }