title: Dependency injection resolving by name
body: <p>How can I inject different implementation of object for a specific class?</p>
  <p>For example, in Unity, I can define two implementations of <code>IRepository</code></p>
  <pre><code>container.RegisterType&lt;IRepository, TestSuiteRepositor(&quot;TestSuiteRepository&quot;);
  container.RegisterType&lt;IRepository, BaseRepository&gt;(); 
  </code></pre>
  <p>and call the needed implementation</p>
  <pre><code>public BaselineManager([Dependency(&quot;TestSuiteRepository&quot;)]IRepository repository)
  </code></pre>