Wanted to use the property of type Type ...
Interface:
public interface IMyConfiguration
{
Type DeclaredType { get; }
}
Config
...
But got an exception
Tried to map element ... using 'RecursingMapper', and barfed. See inner exception for details.
Workaround:
declare property as string
in the code use:
var mytype = Type.GetType(myconfig.DeclaredType)