public TripDetailViewModel(IItemService itemService, IChoreService choreService, ICategoryService categoryService, IContentDialogService contentDialogService) { _itemService = itemService; _choreService = choreService; _categoryService = categoryService; _contentDialogService = contentDialogService; }
public MainViewModel(ISettingsService settingsService, IFileIOService fileIOService, IContentDialogService contentDialogService) { this.settingsService = settingsService; this.fileIOService = fileIOService; this.contentDialogService = contentDialogService; OpenFilesCommand = new RelayCommand(OpenFiles); Startup(); }
public PlaylistListViewModel(IFileIOService fileIOService, IContentDialogService contentDialogService) { this.fileIOService = fileIOService; this.contentDialogService = contentDialogService; SavePlaylistCommand = new RelayCommand(CreatePlaylist); DeletePlaylistCommand = new RelayCommand<Playlist>((play) => DeletePlaylist(play)); EditPlaylistCommand = new RelayCommand<Playlist>((play) => EditPlaylist(play)); SelectedPlaylistChangedCommand = new RelayCommand<Playlist>((play) => SelectedPlaylistChanged(play)); Startup(); queue.CollectionChanged += Queue_CollectionChanged; }
public SessionViewModel( INavigationService navigationService, IConferenceRepository conferenceRepository, IReminderService reminderService, IContentDialogService contentDialogService, IEventTracker eventTrackerService) : base("SessionView", navigationService) { this.conferenceRepository = conferenceRepository; this.reminderService = reminderService; this.contentDialogService = contentDialogService; this.eventTrackerService = eventTrackerService; }
public MainViewModel( INavigationService navigationService, IConferenceRepository conferenceRepository, ITwitterDataService twitterDataService, IEventTracker eventTracker, IContentDialogService contentDialogService, IWebLauncher webLauncher, IEventTracker eventTrackerService) : base("MainView", navigationService) { this.ConferenceRepository = conferenceRepository; this.TwitterDataService = twitterDataService; this.ContentDialogService = contentDialogService; this.EventTracker = eventTracker; this.WebLauncher = webLauncher; this.eventTrackerService = eventTrackerService; }
static ContentDialogService() { _Instance = new Internal.ContentDialogServiceImpl(); }
public ItineraryViewModel(ITripService tripService, IContentDialogService contentDialogService) { Trips = new ObservableCollection <Trip>(); _tripService = tripService; _contentDialogService = contentDialogService; }
public ReminderService(IContentDialogService contentDialogService) { this.contentDialogService = contentDialogService; }
public DataService(IContentDialogService contentDialogService) { this.contentDialogService = contentDialogService; }