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