/// <summary> /// Push viewmodel /// </summary> /// <typeparam name="TViewModel"></typeparam> /// <typeparam name="TParameter"></typeparam> /// <param name="parameter"></param> public void Push <TViewModel, TParameter>(TParameter parameter) where TViewModel : ViewModelBase { Push(ViewFactory.CreatePage <TViewModel, TParameter>(parameter)); }
/// <summary> /// Push viewmodel /// </summary> /// <typeparam name="TViewModel">viewmodel</typeparam> public void Push <TViewModel>() where TViewModel : ViewModelBase { Push(ViewFactory.CreatePage <TViewModel>()); }