I'm trying to get my head wrapped around the HelloScreens example and I'm a little stuck on the constructors for the workspace view models. Their importing constructors take parameters like Func<OrderViewModel>
orderVMFactory instead of having their VM dependencies injected directly by MEF. Can someone please explain to me two things:
1. Why is it done this way?
2. Where are these Funcs being exported so that MEF can find them?
Sorry if this question is a little basic, but it has my confused. Thanks.