title: winsdor register a generic type with constructor parameter
body: <p>i have somthing like this   </p>
  
  <pre><code> MyRepository&lt;T&gt; : IRepository&lt;T&gt; {
  
    public MyRepository(string cs){
     ....
  </code></pre>
  
  <p>}</p>
  
  <p>so i need to register in winsdor this generic type and give him a parameter </p>
  
  <p>i've been trying to do this like so :</p>
  
  <pre><code>Type t = typeof(IRepository&lt;&gt;);
  Type t1 = typeof(Repository&lt;&gt;);
  Hashtable props = new Hashtable(); 
  props.Add("cs", "myconnstring");
  container.AddComponentWithProperties("key1", t, t1, props);
  </code></pre>
  
  <p>and i get the following error</p>
  
  <p>Can't create component 'key1' as it has dependencies to be satisfied. 
  key1 is waiting for the following dependencies: </p>
  
  <p>Keys (components with specific keys)
  - cs which was not registered. </p>