예제 #1
0
 public AdminController(
     IUsersRepository usersRepository,
     IDevicesRepository devicesRepository,
     IVideosRepository videosRepository)
 {
     _usersRepository   = usersRepository;
     _devicesRepository = devicesRepository;
     _videosRepository  = videosRepository;
 }
 public CockpitVideosController(
     IVideosRepository videoRepo,
     IConfirmResp confirm,
     ILogger <CockpitVideosController> logger
     )
 {
     _videoRepo = videoRepo;
     _confirm   = confirm;
     _logger    = logger;
 }
예제 #3
0
 public VideosController(
     IVideosRepository videosRepo,
     IConfirmResp confirmResp, IMapper mapper,
     ILogger <VideosController> logger
     )
 {
     _videosRepo  = videosRepo;
     _confirmResp = confirmResp;
     _mapper      = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _logger      = logger;
 }
예제 #4
0
 public VideosService(IVideosRepository videosRepository, IMapper mapper, IFileSystem fileSystem)
 {
     _videosRepository = videosRepository;
     _mapper           = mapper;
     _fileSystem       = fileSystem;
 }
 public VideosController(IVideosRepository videosRepository, IDevicesRepository devicesRepository)
 {
     _videosRepository  = videosRepository;
     _devicesRepository = devicesRepository;
 }
예제 #6
0
 public HomeController(IVideosRepository videosRepository, IUsersRepository usersRepository)
 {
     this._videosRepository = videosRepository;
     this._usersRepository  = usersRepository;
 }
예제 #7
0
 public VideosBusinessWorkflow(IVideosRepository videosRepository, IVideoMapper videoMapper)
 {
     VideosRepository = videosRepository;
     VideoMapper      = videoMapper;
 }
예제 #8
0
 public VideosService(IVideosRepository videosRepository)
 {
     _videosRepository = videosRepository;
 }
예제 #9
0
 public VideosController(IMapper mapper, IVideosRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }
예제 #10
0
 public VideoRatingsController(IVideoRatingRepository videoRatingRepository, IVideosRepository videosRepository)
 {
     this._videoRatingRepository = videoRatingRepository;
     this._videosRepository      = videosRepository;
 }
예제 #11
0
		public VideosManager(IVideosRepository repository)
		{
			_repository = repository;
		}
 public VideosBusinessWorkflow(IVideosRepository videosRepository, IVideoMapper videoMapper)
 {
     VideosRepository = videosRepository;
     VideoMapper = videoMapper;
 }
예제 #13
0
        public MainPageViewModel(
            IPageNavigationService pageNavigationService,
            IItemsService dataService,
            ITweetsService tweetsService,
            IVideosService youtubeChannelService,
            ISettingsService settingsService,
            IUnityContainer unityContainer,
            IItemsRepository itemsRepository,
            ITweetsRepository tweetsRepository,
            IImagesRepository imagesRepository,
            IVideosRepository videosRepository,
            ICarsRepository carsRepository,
            IFlickrService flickrService,
            ISharingService sharingService)
            : base(
                sharingService,
                pageNavigationService,
                unityContainer)
        {
            _pageNavigationService = pageNavigationService;
            _dataService = dataService;
            _tweetsService = tweetsService;
            _youtubeChannelService = youtubeChannelService;
            _unityContainer = unityContainer;
            _itemsRepository = itemsRepository;
            _tweetsRepository = tweetsRepository;
            _imagesRepository = imagesRepository;
            _videosRepository = videosRepository;
            _flickrService = flickrService;
            _carsRepository = carsRepository;

            //CarModelsCollection = carsRepository.GetAll();

#if WINDOWS_PHONE
            if (DesignerProperties.IsInDesignTool)
#else // !WINDOWS_PHONE
			if (DesignMode.DesignModeEnabled)
#endif
            {
                //InitializeDataForDesignMode();
                InitializeDataFromOnlineAsync();
            }
        }
예제 #14
0
 public VideosController(IVideosRepository videosRepository)
 {
     this._videosRepository = videosRepository;
 }