I'm trying to allow some navigation in Caliburn.Micro in a bit of a dynamic way (viewModels won't be known at design time).
This code obviously works
navigationService.UriFor<DatabasesViewModel>().Navigate();
However, with what I'm trying to do, I won't know the view model ahead of time. Instead I'll only have the Type of the view model.
I've been trying to use reflection to get the generic method, but I'm to able to get the UriFor method via GetMethod or GetMethods. Any ideas how this can be accomplished.