public ScheduleViewModel(SynchronizationService synchronizationService, Attendee attendee, ImageCache imageCache, SearchModel searchModel) { _synchronizationService = synchronizationService; _attendee = attendee; _imageCache = imageCache; _searchModel = searchModel; }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignerProperties.IsInDesignTool) _synchronizationService.Initialize(); _conferenceSelection = new ConferenceSelection(); _imageCache = new ImageCache(); _searchModel = new SearchModel(); }