title: Windsor register singleton component for multiple interfaces
body: <p>I want to register one class with 2 interfaces in Castle.Windsor.</p>
  
  <p>does this code work... Will I have only one instance for both interfaces...</p>
  
  <pre><code>Component.For&lt;IEnvironment&gt;().ImplementedBy&lt;OutlookEnvironment&gt;().LifestyleSingleton()
  Component.For&lt;IOutlookEnvironment&gt;().ImplementedBy&lt;OutlookEnvironment&gt;().LifestyleSingleton()
  </code></pre>
  
  <p>I need to double check this because my environment should always be the same instance...</p>
  
  <p>So when I resolve using the IEnvironment interface I should get the same instance as when using IOutlookEnvironment to resolve the component</p>