title: Autofac configuration
body: <p>I am just starting with Autofac and I am trying to configure a simple registration, according to the docs this should work:</p>
  
  <pre><code>var builder = new ContainerBuilder();
  builder.RegisterType&lt;CurrentUserInfo&gt;().As&lt;ICurrentUserInfo&gt;();
  </code></pre>
  
  <p>But I am getting:</p>
  
  <p>Incorrect Number of type parameters</p>
  
  <p>And according to the docs:</p>
  
  <pre><code> _containerProvider = new ContainerProvider(builder.Build());
  </code></pre>
  
  <p>But there is no Build Method...</p>