title: Autofac - Register a (Partially) Open Generic.
body: <p>I have the Following configuration that I want to register in autofac:</p>
  
  <pre><code>UploadStrategy1&lt;T&gt; : IUploadStrategy&lt;Thing1, T&gt;
  UploadStrategy3&lt;T&gt; : IUploadStrategy&lt;Thing3, T&gt;
  ......
  </code></pre>
  
  <p>Which is in a constructor like this</p>
  
  <pre><code>public class UploadDownloadHandlerStrategy1&lt;T&gt; : IUploadDownloadHandlerStrategy1&lt;T, Thing1, OtherThing1&gt;
  {
     public UploadDownloadHandlerStrategy1(IUpoadStrategey&lt;Thing1, T&gt;, 
                                           IDownloadStrategy&lt;Thing1, OtherThing1&gt;)
  }
  </code></pre>
  
  <p>This is one of those less than ideal situations where It really does have to be this messy. Actually I'm pretty proud I got it decoupled at all.</p>
  
  <p>The only part I don't have working is the IUploadStrategy. So far there is about 8 Implementations, but It is supposed to scale up, so a bulk would be preferable.</p>
  
  <p>I just cant figure out what thats supposed to look like in autofac. </p>
  
  <pre><code>builder.???
  </code></pre>