title: Autofac - Wire up property based on name
body: <p>I have an interface IRepository, which is my DB repository. </p>
  
  <p>Lets say I have a class UserService</p>
  
  <pre><code>public class UserService
  {
         IRepository ScopedReop {get; set;}
         IRepository Repo {get; set;}
  }
  </code></pre>
  
  <p>How can I wire up these two properties based on name using Autofac?</p>
  
  <p>Thanks</p>
  
  <p>Paul</p>