miensol / SimpleConfigSections

An attempt to make defining .net configuration sections a bit simpler
9 stars 5 forks source link

Configuration cannot be loaded if interface name contains multiple leading 'I' #9

Closed andreycha closed 6 years ago

andreycha commented 6 years ago

Hi,

If interface name for config section is smth like IInterface, configuration cannot be loaded with the error that class with name nterface cannot be found.

The issue is that naming convention trims all leading I, while it should only trim the first one.

miensol commented 6 years ago

Wow, that's a good catch 👍

Thanks.

andreycha commented 6 years ago

You're welcome. Please let me know when new package is available on Nuget.