title: Unity child containers and extensions
body: <p>I am working on a modular app that is using Unity for its DI container.  During startup, the app adds an extension (call it MyUnityExtension) to the unity container.</p>
  
  <p>Now, I am looking to add a new module to the app that uses its own unity container (a child of the parent I would assume) and have that child container have no extensions defined.</p>
  
  <ol>
  <li><p>If I create a child container of the parent container, would the child container also inherit MyUnityExtension?  I searched and found some old info indicating that it would not but wanted to make sure.</p></li>
  <li><p>Unity has a feature where even if classes are not registered, you can request an instance of a concrete type that depends on those classes, and Unity will figure out how to create them and give you instances (found that info <a href="http://compositewpf.codeplex.com/discussions/230051" rel="nofollow">here</a>).  In my new module I would like Unity to only check the child container I created earlier when doing any resolving and not consider the parent container.  I can't see a way to hook into this process as Unity is doing the resolving on its own (since the class has not been registered) and I don't know how the process is changed when child containers exist.</p></li>
  </ol>
  
  <p>I am new to unity so not sure if this is possible.</p>