title: autofac: How to resolve collection of named types?
body: <p>I have a bunch of TaskParametes class instances registered in container, like:</p>
  
  <pre><code>builder.Register(c =&gt; [some type instantiation]
      )).Named&lt;TaskParameters&gt;("someTask").InstancePerDependency();
  
  builder.Register(c =&gt; [some type instantiation]
      )).Named&lt;TaskParameters&gt;("someOtherTask").InstancePerDependency();
  </code></pre>
  
  <p>These classes can be registered in any module of the application. I'd like to get the list of available named instances to sent it to client, which should instantiate and execute it by name.</p>
  
  <p>Is there an option to get the list of the names, without actually instantiating types?
  Currently I'm digging ComponentRegistry of IComponentContext, which I get from, <code>var ctx = Container.Resolve&lt;IComponentContext&gt;();</code>, am I on the right direction?</p>