public HomeViewModel() { Loaded += OnLoaded; var loc = new LocalServiceLocator(); Featured = loc.FeaturedService; CoApp = loc.CoAppService; GoToSearch = new RelayCommand(() => loc.NavigationService.GoTo(new ViewModelLocator().SearchViewModel)); }
public PackageViewModel() { Loaded += OnLoad; var loc = new LocalServiceLocator(); CoApp = loc.CoAppService; VmLoc = new ViewModelLocator(); Nav = loc.NavigationService; Activity = loc.ActivityService; }
public ProductViewModel() { var loc = new LocalServiceLocator(); CoApp = loc.CoAppService; Nav = loc.NavigationService; Activity = loc.ActivityService; VmLoc = new ViewModelLocator(); Loaded += OnLoad; }