title: Difference between IMapper and IMappingEngine in Automapper
body: <p>I am using <code>IMapper</code> which is configured as follows:</p>
  
  <pre><code>var mapperConfig = new MapperConfiguration(cfg =&gt; {
        cfg.CreateMap&lt;IAitoeRedCell, VigilantSingleProcessViewModel&gt;();
        cfg.CreateMap&lt;MailSettingsViewModel1, IEmail&gt;();
      });
  
  NInjectKernel.Bind&lt;IMapper&gt;().ToConstant(mapperConfig.CreateMapper());
  </code></pre>
  
  <p>And this is injected into as follows.</p>
  
  <pre><code>public MailSettingsViewModel(IEmailService emailService, IMapper mapper) {...}
  </code></pre>
  
  <p>But now for unit tests I see on the net that pple are refering to <code>IMappingEngine</code>. </p>
  
  <p>I have a few questions.</p>
  
  <ol>
  <li><p>What is the namespace of <code>IMappingEngine</code>?</p>
  
  <p>I checked out the following namespaces, but I did not find it.</p>
  
  <pre><code>using AutoMapper;
  using AutoMapper.Configuration;
  using AutoMapper.Configuration.Conventions;
  using AutoMapper.Execution;
  using AutoMapper.Mappers;
  using AutoMapper.QueryableExtensions;
  using AutoMapper.QueryableExtensions.Impl;
  </code></pre>
  
  <p>Am I missing some other nuget package? I found only one - AutoMapper :(</p></li>
  <li><p>More importantly I want to know differences and which to use when? Can someone please share links with some simple code samples.</p></li>
  </ol>