Automaticly resolve mappings

Hi,

I wrote this little code a while back for a project. It resolves mapping in an assembly using reflection. I thought it would be useful for other people as well.