title: Lightinject and xUnit InjectData
body: <p>I'm trying to setup <a href="https://github.com/xunit/xunit/wiki" rel="nofollow">xUnit</a> with the <a href="https://github.com/seesharper/LightInject" rel="nofollow">LightInject</a> framework but cannot get the xUnit InlineDataAttribute to work. The following test code doesn't work:</p>
  
  <pre><code>public static void Configure(IServiceContainer container)
  {
      container.Register&lt;FooController&gt;();                        
  }
  
  [Theory, InjectData, InlineData("data")]
  public void Test_GetViolations_Should_Return_A_Non_Empty_List(FooController service, string somedata)
  {
      Assert.NotEmpty(service.GetViolations(somedata));
  }
  </code></pre>
  
  <p>This gives an error saying that it cannot find anything to inject for the parameter somedata. Removing the InlineDataAttribute will make the injection work. I really like the InlineData feature of xUnit so how do I get it to work with LightInject?</p>