public ViewModelLocator()
 {
     _navigationModel = new NavigationModel();
     _surveySnapshot = new SurveySnapshotModel();
     _surveyNavigationModel = new SurveyNavigationModel();
     _synchronizationService = new SynchronizationService(_navigationModel);
     if (!DesignerProperties.IsInDesignTool)
     {
         _synchronizationService.Initialize();
         TemporarilyPreselectDallasTechFest();
     }
     _main = new MainViewModel(_synchronizationService.Community, _navigationModel, _synchronizationService);
 }
        public ViewModelLocator()
        {
            _synchronizationService = new SynchronizationService();
            if (!DesignerProperties.IsInDesignTool)
                _synchronizationService.Initialize();
            _imageCache = new ImageCache();
            _searchModel = new SearchModel();
            _clock = new Clock();

            _main = new MainViewModel(_synchronizationService.Attendee, _synchronizationService, _imageCache, _searchModel, _clock);
            _schedule = new ScheduleViewModel(_synchronizationService, _synchronizationService.Attendee, _imageCache, _searchModel);
            _tracks = new TracksViewModel(_synchronizationService.Attendee, _imageCache, _searchModel);
            _search = new SearchViewModel(_synchronizationService.Attendee, _imageCache, _searchModel);
            _map = new MapViewModel(_synchronizationService.Attendee, _imageCache, _clock);
            _notices = new NoticesViewModel(_synchronizationService.Attendee, _imageCache, _clock);
            _settings = new SettingsViewModel(_synchronizationService.Individual, _synchronizationService.Attendee);
        }