pongguru
unread,Feb 8, 2012, 1:01:53 PM2/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to structuremap-users
Let us say I have an interface 'IBuy'. This interface has few methods
a, b, c and this interface has multiple implementations like 'BuyA',
'BuyB', 'BuyC'. You can consider IBuy is an adapter that client uses
but has multiple implementations.
Like Evan asked here before, I have a condition where I need to use
only BuyA or sometimes BuyA & BuyB or sometimes BuyA & BuyC. The
results if I use BuyA only is a set. If I use BuyA and BuyB I will get
two sets of results. How can I set this through structure map so that
I can use muliple implementations for the same interface?