title: how to get Resolver class name in autofac?
body: <p>I am registered Nlog in my Container builder like below:</p>
  
  <pre><code>builder.Register( x=&gt; LogManager.GetLogger("LoggerName")).As&lt;NLog.ILogger&gt;();
  </code></pre>
  
  <p>And my Controller constructor like below:</p>
  
  <pre><code>       public AccountController(NLog.ILogger logger)
      {
          _logger = logger;
      }
  </code></pre>
  
  <p>How can i get resolver class name (in this case "AccountController" ) and use it as GetLogger parameter?</p>