示例#1
0
 public BaseViewModel()
 {
     try
     {
         NavigationService = ViewModelLocator.Resolve <INavigationService>();
     } catch (Exception e)
     {
         Console.WriteLine("baseviewmodel init error");
     }
 }
示例#2
0
 public BaseViewModel()
 {
     NavigationService = ViewModelLocator.Resolve <INavigationService>();
 }