title: Get a list of all registered objects implementing a certain interface
body: <p>Consider the following</p>
  
  <pre><code>builder.Register(c =&gt; new A());
  builder.Register(c =&gt; new B());
  builder.Register(c =&gt; new C());
  </code></pre>
  
  <p><code>B</code> and <code>C</code> are both <code>ISomeInterface</code>.</p>
  
  <p>I would now like to get an <code>IEnumerable</code> of all registered objects that implement <code>ISomeInterface</code>.</p>
  
  <p>How can I accomplish this in Autofac?</p>