title: Unity can't resolve type, when resolving in a different module
body: <p>I'm currently working on a PRISM app with the unity container and a WCF service.
  In the module(with the WCF proxy) I register a ChannelFactory for the WCF client as follows:</p>
  
  <pre><code>InstanceContext instanceContext = new InstanceContext(new TradingPlatformCallback());
  unityContainer.RegisterType&lt;DuplexChannelFactory&lt;IGenericTradingInterface&gt;, DuplexChannelFactory&lt;IGenericTradingInterface&gt;&gt;(
      new ContainerControlledLifetimeManager(),
      new InjectionConstructor(
          instanceContext,
          "NetNamedPipeBinding_IGenericTradingInterface"));
  
  DuplexChannelFactory&lt;IGenericTradingInterface&gt; factory = unityContainer.Resolve&lt;DuplexChannelFactory&lt;IGenericTradingInterface&gt;&gt;();
  
  factory.Open();
  IGenericTradingInterface test = factory.CreateChannel();
  test.GetServerInformation();
  factory.Close();
  </code></pre>
  
  <p>Now, everything is working fine, so I decided to use this ChannelFactory in another module.
  Here's the Initialize method of the module:</p>
  
  <pre><code>var test = unityContainer.Resolve&lt;DuplexChannelFactory&lt;IGenericTradingInterface&gt;&gt;();
  test.Open();
  
  var test2 = test.CreateChannel();
  test2.GetServerInformation();
  test.Close();
  </code></pre>
  
  <p>So this code is <strong>exactly the same</strong> as that of the other module, except the missing registration.</p>
  
  <p>When running this, I get the following exception:</p>
  
  <pre><code>Exception is: InvalidOperationException - The type DuplexChannelFactory`1 has mu
  ltiple constructors of length 3. Unable to disambiguate.
  </code></pre>
  
  <p>It seems to be a problem with the resolving and the Ctors of the ChannelFactory, but why can unity resolve the factory in the first module and not in this one?</p>
  
  <p>I also do not understand this exception message, since I thought to have called a specific Ctor in the registration with:</p>
  
  <pre><code>new InjectionConstructor(
                  instanceContext,
                  "NetNamedPipeBinding_IGenericTradingInterface")
  </code></pre>
  
  <p>Any ideas?</p>