private async Task <TVM> _navigateTo <TVM>(object param = null) where TVM : ComponentBase { var entry = RegionEntry.Create <TVM>(param); var vm = await _navigateTo(entry); return(vm as TVM); }
private Task <ComponentBase> _navigateTo(Type t, object param = null) { var entry = RegionEntry.Create(t, param); return(_navigateTo(entry)); }