title: structuremap - two implementations of same interface
body: <p>I have a service class with the following ctor:</p>
  
  <pre><code>public class (IMessageService emailService, IMessageService smsService)
  { ... }
  </code></pre>
  
  <p>and two implementations of <code>IMessageService</code> (email and sms).  How do I configure the container to resolve this constructor correctly? Is this where named instances come in, or is that for another scenario?</p>