title: How can I add a mapping in AutoMapper after Initialize has been called?
body: <p>I have a couple of ASP.Net apps that share mapping code, so I've created a generic automapper init class.</p>
  
  <p>However, in one of my apps, I have some specific classes that I want added to the configuration.  </p>
  
  <p>I have the following code:</p>
  
  <pre><code>public class AutoMapperMappings
  {
      public static void Init()
      {
          AutoMapper.Mapper.Initialize(cfg =&gt;
          {
              ... A whole bunch of mappings here ...
          }
      }
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>// Call into the global mapping class
  AutoMapperMappings.Init();
  
  // This erases everything
  AutoMapper.Mapper.Initialize(cfg =&gt; cfg.CreateMap&lt;CustomerModel, CustomerInfoModel&gt;());
  </code></pre>
  
  <p>How do I add this unique mapping without destroying what is already initialized?</p>