le">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="">
<h2 id="registering-a-managed-instance-the-static-way">Registering a managed instance, the static way</h2>

<p>Here is an example of how to register a managed instance of an api interface:</p>
<pre><code class="lang-csharp">// Some policies
var registry = new PolicyRegistry
{
    {
       