title: Map a property to a collection item
body: <p>I've been sifting through AutoMapper documentation to try and find a recommended solution to this but haven't been able to find it.</p>
  
  <p>Let's say I have a class like the following</p>
  
  <pre><code>public class Foo
  {
      public string Note { get; set; }
  }
  </code></pre>
  
  <p>this class gets populated from the client and gets mapped to the following domain object class</p>
  
  <pre><code>public class Bar
  {
      public IList&lt;Note&gt; Notes { get; set; }
  }
  </code></pre>
  
  <p>where Note is</p>
  
  <pre><code>public class Note
  {
      public string Text { get; set; }
  
      // other properties excluded for brevity
  }
  </code></pre>
  
  <p>I'd like to map the <code>Note</code> string property on <code>Foo</code>, firstly to the <code>Text</code> property on a new instance of <code>Note</code> and then add that <code>Note</code> to the <code>Notes</code> collection on <code>Bar</code>. I'm using a <code>ValueResolver</code> to perform the first part of this operation (mapping the string to a new instance of <code>Note</code>) but am not sure about how to go about the second part (mapping that item to a item in a collection).</p>
  
  <p>What's the cleanest way of doing this?</p>