Example #1
0
 public TripDetailViewModel(IItemService itemService, IChoreService choreService, ICategoryService categoryService, IContentDialogService contentDialogService)
 {
     _itemService          = itemService;
     _choreService         = choreService;
     _categoryService      = categoryService;
     _contentDialogService = contentDialogService;
 }
Example #2
0
 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;
 }
Example #4
0
        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;
        }
Example #5
0
        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;
        }
Example #6
0
 static ContentDialogService()
 {
     _Instance = new Internal.ContentDialogServiceImpl();
 }
Example #7
0
 public ItineraryViewModel(ITripService tripService, IContentDialogService contentDialogService)
 {
     Trips                 = new ObservableCollection <Trip>();
     _tripService          = tripService;
     _contentDialogService = contentDialogService;
 }
 public ReminderService(IContentDialogService contentDialogService)
 {
     this.contentDialogService = contentDialogService;
 }
Example #9
0
 public DataService(IContentDialogService contentDialogService)
 {
     this.contentDialogService = contentDialogService;
 }