title: Ninject Method-level interception with params
body: <p>I've noticed in the tutorials for interception that you can target a method and intercept it. I.e.</p>
  
  <pre><code> Kernel.Bind&lt;Foo&gt;().ToSelf();
   Kernel.InterceptReplace&lt;Foo&gt;(foo =&gt; foo.ThrowsAnError(), invocation =&gt; {} );
  </code></pre>
  
  <p>The documentation/tutorial does not cover what to do in the instance that the method you're trying to intercept has parameters i.e if <i> ThrowsAnError</i> accepted a string as a parameter. </p>
  
  <pre><code> Kernel.Bind&lt;Foo&gt;().ToSelf();
   Kernel.InterceptReplace&lt;Foo&gt;(foo =&gt; foo.ThrowsAnError(**param goes here**), invocation =&gt; {} );
  </code></pre>
  
  <p>At the time of binding I do not have access to the params so I was wondering whether I am going about this the wrong way?</p>
  
  <p><strong>Edit</strong></p>
  
  <p><a href="https://github.com/markwalsh-liverpool/Ninject.Interceptions" rel="nofollow">Working example</a></p>