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 1: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 8: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!