Feb 16, 2008 at 11:40 PM
I would require ChooseConstructor to receive both the buildKey and the IBuilderContext as it contains vital information for my own implementation.

Let's say I want to choose a constructor based on the optional arguments the client providers (let's say value objects not registered as instances in the container). I could match the constructor by signature based on those extra arguments.

Those arguments are passed through a custom buildkey or a policy.
Feb 19, 2008 at 5:07 AM
Since the buildkey is now part of the context, only the context would be required.