title: Autofac keyed registrations
body: <p>Is there a way I can acheieve the following in a shorter way than explicitly register those types one by one:</p>
  
  <pre><code>builder.RegisterType&lt;Repo1&gt;().Keyed&lt;IRepository&gt;(typeof(Repo1));
  
  builder.RegisterType&lt;Repo2&gt;().Keyed&lt;IRepository&gt;(typeof(Repo2));  
  
  builder.RegisterType&lt;Repo3&gt;().Keyed&lt;IRepository&gt;(typeof(Repo3));
  </code></pre>
  
  <p>..</p>
  
  <p>Registering each repository as IRepository interface with it's type as key, so that I can use <code>IIndex&lt;Type, IRepository&gt;</code></p>
  
  <p>Thanks in advance</p>