title: Net Core: access to appsettings.json values from Autofac Module
body: <p>AspNet core app </p>
  
  <p>1) Autofac module like that</p>
  
  <pre><code>public class AutofacModule : Module
  {
      protected override void Load(ContainerBuilder builder)
      {
        //Register my components. Need to access to appsettings.json values from here
      }
  }
  </code></pre>
  
  <p>2) Module from step№1 registered into <code>Startup.cs</code></p>
  
  <pre><code>public void ConfigureContainer(ContainerBuilder builder)
      {
         builder.RegisterModule(new AutofacModule());
      }
  </code></pre>
  
  <p>How to access to <code>appsettings.json</code> values from <code>AutofacModule</code>? I need that for create my objects inside <code>AutofacModule</code> and using it for DI.</p>