public ViewModelLocator() { if (!Windows.ApplicationModel.DesignMode.DesignModeEnabled) { _synchronizationService.Initialize(); } }
public ViewModelLocator() { NavigationModel navigationModel = new NavigationModel(); _synchronizationService = new SynchronizationService(navigationModel); if (!DesignerProperties.IsInDesignTool) _synchronizationService.Initialize(); _main = new MainViewModel(_synchronizationService.Community, navigationModel, _synchronizationService); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) { _synchronizationService.Initialize(); } }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (DesignMode) _synchronizationService.Initialize(); else _synchronizationService.InitializeDesignMode(); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.GetIsInDesignMode(new DependencyObject())) _synchronizationService.Initialize(); MessageBoardSelectionModel messageBoardSelectionModel = new MessageBoardSelectionModel(); _main = new MainViewModel(_synchronizationService.Community, messageBoardSelectionModel, _synchronizationService); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignMode) _synchronizationService.Initialize(); else _synchronizationService.InitializeDesignData(); _selection = new MessageBoardSelectionModel(); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) _synchronizationService.Initialize(); _selection = new MessageBoardSelectionModel(); _main = new MainViewModel(_synchronizationService.Individual, _synchronizationService, _selection); _join = new JoinMessageBoardViewModel(_selection, _synchronizationService.Individual); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) _synchronizationService.Initialize(); NewGameSelectionModel newGameSelection = new NewGameSelectionModel(); _main = new MainViewModel(_synchronizationService.Community, _synchronizationService, newGameSelection); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) _synchronizationService.Initialize(); _conferenceSelection = new ConferenceSelection(); _imageCache = new ImageCache(); _searchModel = new SearchModel(); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignMode) _synchronizationService.Initialize(); else _synchronizationService.InitializeDesignMode(); _selection = new MessageBoardSelectionModel(); _selection.SelectedShare = _synchronizationService.Individual.Shares .FirstOrDefault(); }
public ViewModelLocator() { NavigationModel navigationModel = new NavigationModel(); _synchronizationService = new SynchronizationService(navigationModel); if (!DesignerProperties.IsInDesignTool) { _synchronizationService.Initialize(); } _main = new MainViewModel(_synchronizationService.Community, navigationModel, _synchronizationService); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) { _synchronizationService.Initialize(); } NewGameSelectionModel newGameSelection = new NewGameSelectionModel(); _main = new MainViewModel(_synchronizationService.Community, _synchronizationService, newGameSelection); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) { _synchronizationService.Initialize(); } _conferenceSelection = new ConferenceSelection(); _imageCache = new ImageCache(); _searchModel = new SearchModel(); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (DesignMode) { _synchronizationService.Initialize(); } else { _synchronizationService.InitializeDesignMode(); } }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignMode) { _synchronizationService.Initialize(); } else { _synchronizationService.InitializeDesignData(); } _selection = new MessageBoardSelectionModel(); }
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() { var navigationModel = new NavigationModel(); var newEntry = new NewEntryModel(); _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) { _synchronizationService.Initialize(); navigationModel.SelectedShare = _synchronizationService.Identity.ActiveShares .OrderBy(share => share.Company.Name.Value) .FirstOrDefault(); _main = new MainViewModel(_synchronizationService.Community, navigationModel, newEntry, _synchronizationService); } }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignMode) { _synchronizationService.Initialize(); } else { _synchronizationService.InitializeDesignMode(); } _selection = new Models.MessageBoardSelectionModel(); _selection.SelectedShare = _synchronizationService.Individual.Shares .FirstOrDefault(); }
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); }
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); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); CompanySelectionModel companySelection = new CompanySelectionModel(); GameSelectionModel gameSelection = new GameSelectionModel(companySelection); if (!DesignerProperties.IsInDesignTool) { _synchronizationService.Initialize(); companySelection.SelectedCompany = _synchronizationService .Individual.Companies .Ensure() .FirstOrDefault(); } _main = new MainViewModel( _synchronizationService.Community, _synchronizationService, companySelection, gameSelection); }