title: Resolving a type in autofac
body: <p>I have the following setup:</p>
  
  <pre><code>builder.Register&lt;Configuration&gt;(
     c =&gt; ConfigurationFile.Load&lt;Configuration&gt;(filename)
  ).SingleInstance();
  </code></pre>
  
  <p>Somewhere else in my program I have</p>
  
  <pre><code>void Dispose()
  {
      ConfigurationFile.Save(Configuration, @"c:\config.cfg");
  }
  </code></pre>
  
  <p>How do I resolve <code>Configuration</code> here?</p>