title: What is the EmitMapper equivalent for this AutoMapper configuration?
body: <p>I have the following class and interface definitions, and would like to use EmitMapper instead of AutoMapper to map from class to interface. The current code works, but I'd like to use EmitMapper, yet have not figured out how to use it.</p>
  
  <pre><code>public interface  ITreeViewDTO
  {
      int Id { get; set; }
      string Name { get; set; }
      int? Parent_Id { get; set; }
      string ExtraData { get; set; }
      IEnumerable&lt;ITreeViewDTO&gt; SubNode { get; set; }
  }
  
  public class Navigation
  {
      public int Id { get; set; }
      public string Name{ get; set; }
      public int? Parent_Id { get; set; }
      public virtual IList&lt;Navigation&gt; SubNavigations { get; set; }
  }
  </code></pre>
  
  <p>This is the current AutoMapper configuration for the desired mapping:</p>
  
  <pre><code>Mapper.CreateMap&lt;Navigation, ITreeViewDTO&gt;()
     .ForMember(dest =&gt; dest.SubNode, 
                opt =&gt; opt.MapFrom&lt;IEnumerable&lt;Navigation&gt;&gt;(src =&gt; src.SubNavigations));
  var iTreeView = Mapper.Map&lt;Navigation, ITreeViewDTO&gt;(root);
  </code></pre>
  
  <p>What would be the equivalent EmitMapper code for the above sample?</p>