This project has moved. For the latest updates, please go here.


Map to class with property with indexer


I use IDataErrorInfo in my viewmodels and I can't get the mapper to map to a viewmodel with an indexer property ( public string this[string columnname] { get; })
This issue can be resolved by adding .Where(p => !p.GetIndexParameters().Any()) to the ReflectionExtensions.ReflectionHelper.GetPublicGetProperties method. The unit tests still run.
Closed Apr 5, 2009 at 2:25 AM by jbogard
Fixed this one in R52 or so. It'll be in the 0.3.0 release.


jbogard wrote Feb 22, 2009 at 9:43 PM

Would it be possible to provide a failing unit test for this issue? Even though that fix doesn't break existing unit tests, I'd like to lock down that scenario to prevent regression bugs. Thanks!

wrote Apr 5, 2009 at 2:25 AM

wrote Feb 22, 2013 at 1:49 AM

wrote May 16, 2013 at 12:59 PM