If I understand your scenario correctly, you are registering in your scoped region views from different modules. However, at the
moment of registering the views, you are not able to get the region manager because it is being set after the registration is done.
This is the typical scenario where
ViewDiscovery should be used, since you do not know whether a region with that name will be registered but you know your view has to be shown in it. The benefit is that the region does not have to exist at the time of registration, so you do
not have to worry about whether the region has already been created or not (no timing initialization issues). As you said, what is probably happening is that your views are being registered before the search view is added to the
A possible option could be using the
RegionContext as a communication mechanism between your regions. You can check out the
Quickstart solution shipped with Prism for an example of this.
You can read more about the region context in these articles:
Please let me know if this helps.