title: Convention based binding of constructor string arguments with Ninject
body: <p>I'm using Ninject as IoC container in my project. I have following class:</p>
  
  <pre><code>public class SomeRepository:ISomeRepository
  {
      public SomeRepository(string someDatabaseConnectionString)
      {
          // some code here..
      }
  }
  </code></pre>
  
  <p>In my application settings file I have connection string named "someDatabase". By default the one should add following configuration in order to inject this connection string into the constructor:</p>
  
  <pre><code>kernel.Bind&lt;ISomeRepository&gt;()
      .To&lt;SomeRepository&gt;()
      .WithConstructorArgument("someDatabaseConnectionString", connString);
  </code></pre>
  
  <p>But i want to implement conventional based binding of such strings. Values for all constructor parameters of string type that names ends with "ConnectionString" should be taken from application's connectionStrings configuration section and injected automatically. I want to implement similar convention for appSettings section as well. This approach described in greater details in Mark Seeman's <a href="http://blog.ploeh.dk/2012/07/02/PrimitiveDependencies.aspx" rel="noreferrer">"Primitive Dependencies"</a> article ("Conventions for primitives" section). Castle Windsor container was used in examples.</p>
  
  <p>Is it possible to implement such conventions using Ninject and what is the best way to do this? I have already tried ninject.extensions.conventions but seems it doesn't has such a functionality, does it?</p>