Hello,
We currently use MEF like this:
Machine A:
I'd like to do this instead:
Machine A:
I would like to be able to compose only the parts whose dependencies are present. This way a single dll could provide context-appropriate functionality in a number of locations.
One way to do this would be to allow developers to specify which namespace, within the target assembly, they're after.
Is there anything like what I'm talking about that I've missed, or is this a feature request?
Thanks for taking the time to read this, and thanks in advance for any advice you have for me.
We currently use MEF like this:
Machine A:
- Server.exe
- ServerOnlyStuff.dll
- MEF.Extension1.Server.dll
-
Extension1.Shared.dll
- Client.exe
- ClientOnlyStuff.dll
- MEF.Extension1.Client.dll
-
Extension1.Shared.dll
I'd like to do this instead:
Machine A:
- Server.exe
- ServerOnlyStuff.dll
-
MEF.Extension1.dll <-- Same DLL
- Client.exe
- ClientOnlyStuff.dll
-
MEF.Extension1.dll <-- Different Context
I would like to be able to compose only the parts whose dependencies are present. This way a single dll could provide context-appropriate functionality in a number of locations.
One way to do this would be to allow developers to specify which namespace, within the target assembly, they're after.
Is there anything like what I'm talking about that I've missed, or is this a feature request?
Thanks for taking the time to read this, and thanks in advance for any advice you have for me.