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