how to pass parameters on resolve time in autofac
<p>I write following register type in autofac:</p>

<pre><code> builder.RegisterType&lt;NoteBookContext&gt;()
        .As&lt;DbContext&gt;()
        .WithParameter(ResolvedParameter.ForNamed&lt;DbContext&gt;("connectionstring"));
</code></pre>

<p>In fact I write this code for injecting NoteBookContext with a connectionstring parameter. (ie : <code>new NoteBookContext(string connectionstring)</code>)</p>

<p>Now , How can I Pass value of parameter at runtime?</p>