title: How to inject in blazor code behind .razor.cs file? IJSRuntime for example
body: <p>With a normal single page razor component in Blazor. I can inject <code>IJSRuntime</code> like this at the top of the page:</p>
  
  <pre><code>@inject IJSRuntime JSRuntime
  </code></pre>
  
  <p>If I create a code behind .razor.cs file for the component, how do I inject something like <code>IJSRuntime</code> into the code behind file?</p>