using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.PPC.Common; using Tango.PPC.Maintenance.Views; namespace Tango.PPC.Maintenance.ViewModels { /// /// Represents the main view VM and entry point for . /// /// public class MainViewVM : PPCViewModel { /// /// Called when the application has been started /// public override void OnApplicationStarted() { //Start initializing here rather then in the constructor. } public override void OnNavigatedTo() { base.OnNavigatedTo(); if(BuildProvider.IsEureka) { NavigationManager.NavigateTo(nameof(EurekaMaintenanceView), false); } else NavigationManager.NavigateTo(nameof(MaintenanceView), false); } } }