示例#1
0
 public BaseViewModel()
 {
     navigationService = IoCcontainer.Resolve <INavigationService>();
 }
示例#2
0
 private static ViewModel CreateViewModel <ViewModel>() where ViewModel : BaseViewModel
 {
     return(IoCcontainer.Resolve <ViewModel>());
 }
 public ControllerFactory(IoCcontainer container)
 {
     Container = container;
 }