title: Unity and Generics
body: <p>how do i register and resolve a generic object/interface in Unity?  I'm trying to stay away from the config file.</p>
  
  <p>I'm looking for something like</p>
  
  <p><code>IEnterpriseClient&lt;IInterface1&gt;</code> to resolve to <code>EnterpriseClient&lt;IInterface1&gt;</code></p>
  
  <p>The class signature is</p>
  
  <pre><code>class EnterpriseClient&lt;T&gt; : IEnterpriseClient&lt;T&gt; where T : class
  </code></pre>
  
  <p>Thanks!</p>