title: How can I pass in constructor arguments when I register a type in Unity?
body: <p>I have the following type being registered in Unity:</p>
  
  <pre><code>container.RegisterType&lt;IAzureTable&lt;Account&gt;, AzureTable&lt;Account&gt;&gt;();
  </code></pre>
  
  <p>The definition and constructors for AzureTable are as follows:</p>
  
  <pre><code>public class AzureTable&lt;T&gt; : AzureTableBase&lt;T&gt;, IInitializer where T : TableServiceEntity
  {
  
      public AzureTable() : this(CloudConfiguration.GetStorageAccount()) { }
      public AzureTable(CloudStorageAccount account) : this(account, null) { }
      public AzureTable(CloudStorageAccount account, string tableName)
              : base(account, tableName) { }
  </code></pre>
  
  <p>Can I specify the constructor arguments in the RegisterType line? I need to be able to pass in the tableName for example. </p>
  
  <p>This is a follow-up to my last question. That question was I think answered but I didn't really clearly ask how to get the constructor arguments in. </p>