I have one interface: IFoo
Two classes implementing that interface: FooOne and FooTwo
And two classes ClassOne and ClassTwo receiving an IFoo parameter in the constructor.

How I configure unity so ClassOne receives a FooOne instance and ClassTwo receives a FooTwo using only one container?

I can't do it at runtime so it must be in the config file.

Edit
Report