Ejemplo n.º 1
0
        // CTOR
        public MediaContentViewModel(
            INavigationService navigationService,
            IPlaylistDataService playlistDataService,
            ISharingService sharingService,
            ISettingsDataService settingsDataService,
            IPresentationDataService presentationDataService,
            ICategoryContentDataService categoryContentDataService,
            IDocumentInfoDataService documentInfoDataService,
            ICategoryDataService categoryDataService,
            IContentReviewDataService contentReviewDataService) : base(settingsDataService)
        {
            _presentationDataService    = presentationDataService;
            _navigationService          = navigationService;
            _playlistDataService        = playlistDataService;
            _sharingService             = sharingService;
            _contentReviewDataService   = contentReviewDataService;
            _categoryContentDataService = categoryContentDataService;
            _documentInfoDataService    = documentInfoDataService;
            _categoryDataService        = categoryDataService;


            // Create an empty list to work from
            _relatedContent = new List <MediaLink>();

            // Create the flyout
            _relatedContentFlyout = new RelatedContentFlyout();

            // Setup the messages
            RegisterMessages();
        }
Ejemplo n.º 2
0
 public CategoryInfoDataService(
     ICategoryMobileConfigDataService categoryMobileConfigDataService,
     ICategoryDataService categoryDataService,
     ICategoryContentDataService categoryContentDataService,
     IDocumentInfoDataService documentInfoDataService,
     ISettingsDataService settingsDataService)
 {
     _categoryMobileConfigDataService = categoryMobileConfigDataService;
     _categoryDataService             = categoryDataService;
     _categoryContentDataService      = categoryContentDataService;
     _documentInfoDataService         = documentInfoDataService;
     _settingsDataService             = settingsDataService;
 }