public ConferenceViewModel(Conference conference, NavigationModel navigationModel, SurveySnapshotModel surveySnapshot, SurveyNavigationModel surveyNavigationModel) { _conference = conference; _navigationModel = navigationModel; _surveySnapshot = surveySnapshot; _surveyNavigationModel = surveyNavigationModel; }
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 SurveyEditViewModel(SurveySnapshotModel surveySnapshot, SurveyNavigationModel surveyNavigationModel, Action save) { _surveySnapshot = surveySnapshot; _surveyNavigationModel = surveyNavigationModel; _save = save; }