title: Constructor Inject with Ninject 2
body: <p>I've used Ninject with MVC3 for automagic inject of constructor arguments.  It worked great. </p>
  
  <p>How do you do something similar with non-MVC code.</p>
  
  <p>For example:</p>
  
  <pre><code>public class Ninja
  {
      private readonly IWeapon _weapon;
      public Ninja(IWeapon weapon)
      {
          _weapon = weapon;
      }
  
      public void Strike()
      {
          _weapon.Strike();
      }
  }
  
  
  public class MyProgram
  {
      public void DoStuff()
      {
          var Ninja = new Ninja(); // I'm wanting Ninject to call the parameterized Ninja constructor
          ninja.Strike();
      }
  
  }
  </code></pre>
  
  <p>How would I alter the code to get it to work?</p>