title: Ninject Get<T> with constructor argument
body: <p>Here is my Module:</p>
  
  <pre><code>public class LoggerModule : NinjectModule
  {
      public override void Load()
      {
          Bind&lt;ILogger&gt;().To&lt;NLogLogger&gt;()
              .WithConstructorArgument(
                  typeof(Type),
                  x =&gt; x.Request.ParentContext.Plan.Type);
      }
  }
  </code></pre>
  
  <p>So as you can see the <code>NLogLogger</code> is expecting the <code>Type</code> to be passed into the constructor.</p>
  
  <p>This is my Unit Test:</p>
  
  <pre><code>    [Test]
      public void ResolveLoggerDependency()
      {
          var module = new LoggerModule();
          var kernal = new StandardKernel(module);
          var service = kernal.Get&lt;ILogger&gt;(new ConstructorArgument("type", typeof(int)));
          Assert.That(service, Is.Not.Null);
      }
  </code></pre>
  
  <p>It is throwing a null reference error on the <code>kernal.Get&lt;ILogger&gt;</code> so I can only assume I am not passing the constructor value correctly. How can I pass in a <code>Type</code> when using <code>Get&lt;T&gt;</code>?</p>