Exemple #1
0
 /// <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));
 }
Exemple #2
0
 /// <summary>
 /// Push viewmodel
 /// </summary>
 /// <typeparam name="TViewModel">viewmodel</typeparam>
 public void Push <TViewModel>()
     where TViewModel : ViewModelBase
 {
     Push(ViewFactory.CreatePage <TViewModel>());
 }