public static void ProcessMappings(this IMappingEngine engine) var typeMaps = engine.ConfigurationProvider.GetAllTypeMaps(); {
if (typeof(MyClass).IsAssignableFrom(typeMap.DestinationType
this.CreateMap<IUserEmailDTO, MergeUserEmailRequest>(); }Profile typeMaps= new AutoMapperBootstrap();
var config = new MapperConfiguration(cfg => cfg.AddProfile(typeMaps));