Exemplo n.º 1
0
        /// <summary>
        /// Initializes the singleton application object.  This is the first line of authored code
        /// executed, and as such is the logical equivalent of main() or WinMain().
        /// </summary>
        public App()
        {
            this.InitializeComponent();
            this.Suspending += OnSuspending;
            this.profile = NetworkInformation.GetInternetConnectionProfile();
            this.navigator = new Navigator();

            NetworkInformation.NetworkStatusChanged +=
                NetworkInformation_NetworkStatusChanged;
        }
 public OnlyTextDescriptionViewModel(Navigator navigator)
 {
     this.navigator = navigator;
 }
 public AssociatesByCategoryViewModel(Navigator navigator)
 {
     this.navigator = navigator;
     this.placesByCategory = new ObservableCollection<WelcomePlace>();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the MainViewModel class.
 /// </summary>
 public MainViewModel(Navigator navigator)
 {
     this.navigator = navigator;
     this.GetShortDescriptionList();
 }
Exemplo n.º 5
0
 public SearchViewModel(Navigator navigator)
 {
     this.navigator = navigator;
     this.searchResults = new ObservableCollection<WelcomePlace>();
 }
 public ShortDescriptionViewModel(Navigator navigator)
 {
     this.navigator = navigator;
     this.currImageIndex = 0;
     this.toLoadCurrentSelection = true;
 }