SlapperAutoMapper / Slapper.AutoMapper

Slapper.AutoMapper maps dynamic data to static types. Slap your data into submission!
MIT License
287 stars 76 forks source link

Support for Arrays #4

Closed kkuepper closed 11 years ago

kkuepper commented 11 years ago

I'm unable to get it working with an array. Is it supported at all or am I doing something wrong?

The first error was that an exception was thrown during initializing the array "no parameterless constructor found". I solved this by initializing the array in the constructor.

But now it throws an exception "Sequence contains no elements" at InternalHelpers.Map() at line 1046: var innerType = memberType.GetGenericArguments().First();

kkuepper commented 11 years ago

I created a pull request for this