예제 #1
0
        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);
        }
예제 #2
0
        private Task <ComponentBase> _navigateTo(Type t, object param = null)
        {
            var entry = RegionEntry.Create(t, param);

            return(_navigateTo(entry));
        }