title: DependencyResolver - How to get a named registration?
body: <p>I am using Unity 3 in an MVC 5 app. I have registered 2 named registrations as follows:</p>
  
  <pre><code>container
      .RegisterType&lt;IService, Service&gt;(
            "n1", 
            new PerRequestLifetimeManager(), 
            new InjectionConstructor("n1"))
  
      .RegisterType&lt;IService, Service&gt;(
            "n2", 
            new PerRequestLifetimeManager(), 
            new InjectionConstructor("n2")));
  </code></pre>
  
  <p>Now I am struggling to get those back. The <code>IDependencyResolver</code> doesn't have a <code>GetService&lt;T&gt;()</code> which accepts a name.</p>
  
  <p>How can I do that?</p>