title: Microsoft.Unity does not Unity.Resolve<ILogger> when my concrete class has two constructors?
body: <p>I have a concrete class of <code>logger</code> that Microsoft.Unity will resolve <code>ILogger</code> to.</p>
  
  <p>The logger class has two constructors:</p>
  
  <pre><code>1. public logger()
  2. public logger(List&lt;BaseLogger&gt; Loggers)
  </code></pre>
  
  <p>I have the unity section in my web.config file that looks like this:</p>
  
  <pre><code>&lt;unity&gt;
  &lt;containers&gt;
    &lt;container&gt;
      &lt;types&gt;
  
        &lt;type type="MyCompany.Logger.ILogger, MyCompany.Logger"
             mapTo="MyCompany.Logger.logger, MyCompany.Logger"&gt;
  
        &lt;/type&gt;
      &lt;/types&gt;
     &lt;/container&gt;
    &lt;/containers&gt;
  &lt;/unity&gt;
  </code></pre>
  
  <p>If I remove the constructor listed as 2, the logger class is successfully resolved by Unity. When I add it back I get this error...</p>
  
  <blockquote>
    <p>Resolution of the dependency failed, type = "MyCompany.Logger.ILogger", name = "(none)".
    Exception occurred while: while resolving.
    Exception is: InvalidOperationException - The type List`1 has multiple constructors of length 1. Unable to disambiguate.</p>
  </blockquote>
  
  <p>Can anyone explain how I can change my web.config entry to handle having the "2." listed overloaded constructor in logger to work while trying to Unity.Resolve?</p>