public UploadController(IUploadsService uploads, IVideoCatalogService videoCatalog) { if (uploads == null) throw new ArgumentNullException("uploads"); if (videoCatalog == null) throw new ArgumentNullException("videoCatalog"); _uploads = uploads; _videoCatalog = videoCatalog; }
public VideosController(IVideoCatalogService videoCatalog, IUserManagementService userManagement, IStatisticsService stats, IRatingsService ratings, ISuggestVideos suggestions) { if (videoCatalog == null) { throw new ArgumentNullException("videoCatalog"); } if (userManagement == null) { throw new ArgumentNullException("userManagement"); } if (stats == null) { throw new ArgumentNullException("stats"); } if (ratings == null) { throw new ArgumentNullException("ratings"); } if (suggestions == null) { throw new ArgumentNullException("suggestions"); } _videoCatalog = videoCatalog; _userManagement = userManagement; _stats = stats; _ratings = ratings; _suggestions = suggestions; }
public YouTubeController(IVideoCatalogService videoCatalog) { if (videoCatalog == null) { throw new ArgumentNullException("videoCatalog"); } _videoCatalog = videoCatalog; }
public CommentsController(ICommentsService comments, IVideoCatalogService videoCatalog, IUserManagementService userManagement) { if (comments == null) throw new ArgumentNullException("comments"); if (videoCatalog == null) throw new ArgumentNullException("videoCatalog"); if (userManagement == null) throw new ArgumentNullException("userManagement"); _comments = comments; _videoCatalog = videoCatalog; _userManagement = userManagement; }
public UploadController(IUploadsService uploads, IVideoCatalogService videoCatalog) { if (uploads == null) { throw new ArgumentNullException("uploads"); } if (videoCatalog == null) { throw new ArgumentNullException("videoCatalog"); } _uploads = uploads; _videoCatalog = videoCatalog; }
public VideosController(IVideoCatalogService videoCatalog, IUserManagementService userManagement, IStatisticsService stats, IRatingsService ratings, ISuggestVideos suggestions) { if (videoCatalog == null) throw new ArgumentNullException("videoCatalog"); if (userManagement == null) throw new ArgumentNullException("userManagement"); if (stats == null) throw new ArgumentNullException("stats"); if (ratings == null) throw new ArgumentNullException("ratings"); if (suggestions == null) throw new ArgumentNullException("suggestions"); _videoCatalog = videoCatalog; _userManagement = userManagement; _stats = stats; _ratings = ratings; _suggestions = suggestions; }
public CommentsController(ICommentsService comments, IVideoCatalogService videoCatalog, IUserManagementService userManagement) { if (comments == null) { throw new ArgumentNullException("comments"); } if (videoCatalog == null) { throw new ArgumentNullException("videoCatalog"); } if (userManagement == null) { throw new ArgumentNullException("userManagement"); } _comments = comments; _videoCatalog = videoCatalog; _userManagement = userManagement; }
public AddSampleYouTubeVideosHandler(IGetSampleData sampleDataRetriever, IManageSampleYouTubeVideos youTubeManager, IVideoCatalogService videoCatalog) { if (sampleDataRetriever == null) { throw new ArgumentNullException("sampleDataRetriever"); } if (youTubeManager == null) { throw new ArgumentNullException("youTubeManager"); } if (videoCatalog == null) { throw new ArgumentNullException("videoCatalog"); } _sampleDataRetriever = sampleDataRetriever; _youTubeManager = youTubeManager; _videoCatalog = videoCatalog; }
public PublicController(ILogger <PublicController> logger, IVideoCatalogService catalogService, IFileStorageSettings fileStorageSettings) { _logger = logger; _catalogService = catalogService; _fileStorageSettings = fileStorageSettings; }
public YouTubeController(IVideoCatalogService videoCatalog) { if (videoCatalog == null) throw new ArgumentNullException("videoCatalog"); _videoCatalog = videoCatalog; }
public VideoConvertedEventHandler(ILogger <VideoConvertedEventHandler> logger, IVideoCatalogService videoCatalogService) { _logger = logger; _videoCatalogService = videoCatalogService; }
public VideoUploadedForCatalogEventHandler(ILogger <VideoUploadedForCatalogEventHandler> logger, IVideoCatalogService videoCatalogService) { _logger = logger; _videoCatalogService = videoCatalogService; }