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 SessionsViewModel(Conference conference, NavigationModel navigationModel)
 {
     _conference = conference;
     _navigationModel = navigationModel;
 }
 public SynchronizationService(NavigationModel navigationModel)
 {
     _navigationModel = navigationModel;
 }
 public ScheduleViewModel(Conference conference, NavigationModel navigationModel)
 {
     _conference = conference;
     _navigationModel = navigationModel;
 }
Beispiel #6
0
 public MainViewModel(Community community, NavigationModel navigationModel, SynchronizationService synhronizationService)
 {
     _community = community;
     _navigationModel = navigationModel;
     _synhronizationService = synhronizationService;
 }