KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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.
Tags (comma-separated)
Save Edits
Cancel