title: C# Unity container Ctor injection
body: <p>Say we have:</p>
  
  <pre><code>class A
  {
     ILogger myLog;
     A(ILogger log)
     {
        this.myLog = log;
     }
   ...
  }
  </code></pre>
  
  <p>And we have registered the ILogger interface before in the unity container, e.g.</p>
  
  <pre><code> container.RegisterType&lt;ILogger, SomeLogger&gt;();
  </code></pre>
  
  <p>And here the SomeLogger class:</p>
  
  <pre><code>class SomeLogger : ILogger
  {
     string myString;
     SomeLogger(string test)
     {
       myString = test;
     }
   ...
  }
  </code></pre>
  
  <p>Now, how can unity create an instance of SomeLogger for class A without passing a string to the ctor of SomeLogger?
  Suppose there is no other ctor for SomeLogger. Where can one specify the parameter(s) for ctor of the mapped SomeLogger type?</p>