title: Unity Application Block, How pass a parameter to Injection Factory?
body: <p>Here what I have now </p>
  
  <pre><code>  Container.RegisterType&lt;IUserManager, UserManagerMock&gt;();
    Container.RegisterType&lt;IUser, UserMock&gt;(
                  new InjectionFactory(
                      (c) =&gt; c.Resolve&lt;IUserManager&gt;().GetUser("John")));
  </code></pre>
  
  <p>and get it</p>
  
  <pre><code>Container.Resolve&lt;IProfile&gt;();
  </code></pre>
  
  <p>I want to pass a name as parameter  to Factory so that I will be able to resolve user object with name;
  Something like this:</p>
  
  <pre><code> Container.Resolve&lt;IProfile&gt;("Jonh");
  </code></pre>
  
  <p>How can I change the type registration for this case? </p>