title: Ninject Factory NamedLikeFactoryMethod not working as directed?
body: <p><a href="https://stackoverflow.com/questions/11557856/namedlikefactorymethod-in-ninject-extensions-factory-working-in-non-compliance-w">NamedLikeFactoryMethod in Ninject Extensions Factory working in non-compliance with documentation</a></p>
  
  <p>I am basically trying to do what the above post has listed but I guess the API has changed, When I look in the object browser I do not see an overload that would allow for this syntax.</p>
  
  <p>I am trying the code below, I is making me use a NamedLikeFactoryMethod but when I do that it complains about the Bind&lt;>.To&lt;> portion, and either way I am unable to pickup the interface type to call the Create[Name] methods. Has this changed?</p>
  
  <p>I am using Ninject 3, with the Ninject.Extension.Factory 3</p>
  
  <p>Factory</p>
  
  <pre><code>public interface ITemplateProcessorFactory
      {
          ITemplateProcessor CreateXsltProcessor();
          ITemplateProcessor CreateRazorProcessor();
          ITemplateProcessor CreateMarkdownProcessor();
      }
  </code></pre>
  
  <p>Binding</p>
  
  <pre><code>Bind&lt;ITemplateProcessor&gt;().To&lt;XsltProcessor&gt;().NamedLikeFactoryMethod((ITemplateProcessorFactory)t =&gt; t.);
  Bind&lt;ITemplateProcessor&gt;().To&lt;XsltProcessor&gt;().NamedLikeFactoryMethod&lt;ITemplateProcessor,ITemplateProcessorFactory(t =&gt; t.);
  </code></pre>