public UnitOfWork([NotNull] IBookRepository bookRepository, [NotNull] ISeriesRepository seriesRepository, [NotNull] IAuthorRepository authorRepository, [NotNull] ICoverRepository coverRepository, [NotNull] IEditionFileRepository editionFileRepository, [NotNull] IEditionRepository editionRepository, [NotNull] IPublisherRepository publisherRepository, [NotNull] IDeviceRepository deviceRepository, [NotNull] IUserDeviceRepository userDeviceRepository) { Guard.AssertNotNull(bookRepository, nameof(bookRepository)); Guard.AssertNotNull(seriesRepository, nameof(seriesRepository)); Guard.AssertNotNull(authorRepository, nameof(authorRepository)); Guard.AssertNotNull(coverRepository, nameof(coverRepository)); Guard.AssertNotNull(editionFileRepository, nameof(editionFileRepository)); Guard.AssertNotNull(editionRepository, nameof(editionRepository)); Guard.AssertNotNull(publisherRepository, nameof(publisherRepository)); Guard.AssertNotNull(deviceRepository, nameof(deviceRepository)); Guard.AssertNotNull(userDeviceRepository, nameof(userDeviceRepository)); _bookRepository = bookRepository; _seriesRepository = seriesRepository; _authorRepository = authorRepository; _coverRepository = coverRepository; _editionFileRepository = editionFileRepository; _editionRepository = editionRepository; _publisherRepository = publisherRepository; _deviceRepository = deviceRepository; _userDeviceRepository = userDeviceRepository; }
public MissingModule(IEpisodeService episodeService, ISeriesRepository seriesRepository, ICommandExecutor commandExecutor) : base(episodeService, commandExecutor, "wanted/missing") { _episodeService = episodeService; _seriesRepository = seriesRepository; GetResourcePaged = GetMissingEpisodes; }
public void Setup() { _series = new TestData().Series(); _seriesRepository = MockRepository.MockSeriesRepository(_series); _unitOfWork = new Mock <IUnitOfWork>().Object; _seriesService = new SeriesService(_seriesRepository, _unitOfWork); }
public CutoffModule(IEpisodeService episodeService, IEpisodeCutoffService episodeCutoffService, ISeriesRepository seriesRepository, ICommandExecutor commandExecutor) : base(episodeService, commandExecutor, "wanted/cutoff") { _episodeCutoffService = episodeCutoffService; _seriesRepository = seriesRepository; GetResourcePaged = GetCutoffUnmetEpisodes; }
public LabType( IProjectRepository projectRepository, IListRepository listRepository, ISeriesRepository seriesRepository, IPointRepository pointRepository) { Field(x => x.IdLab).Description("IdLab"); Field(x => x.Name).Description("Name"); Field(x => x.Location).Description("Location"); Field(x => x.Timestamp, nullable: true).Description("Timestamp"); Field <ListGraphType <ProjectType> >( "projects", resolve: x => projectRepository.GetProjectsForLab(x.Source.IdLab) ); Field <ListGraphType <ListType> >( "lists", resolve: x => listRepository.GetListsForLab(x.Source.IdLab) ); Field <ListGraphType <SeriesType> >( "series", resolve: x => seriesRepository.GetSeriesForLab(x.Source.IdLab) ); Field <ListGraphType <PointType> >( "points", resolve: x => pointRepository.GetPointsForLab(x.Source.IdLab) ); }
public UserSeriesService(IUserComicService userComicService, IUserSeriesRepository repository, ISeriesRepository seriesRepository, IUnitOfWork unitOfWork) { _userComicService = userComicService; _seriesRepository = seriesRepository; _repository = repository; _unitOfWork = unitOfWork; }
public SearchService(Func <int, ISourceSearcher> serviceFactory, Func <int, ISourceUpdateService> updaterFactory, ISeriesRepository repository, ISeriesUpdater updater) { _repository = repository; _searcherFactory = serviceFactory; _updaterFactory = updaterFactory; _updater = updater; }
public SeriesServices(ISeriesRepository series, IActorRepository actorRepository, IMapper mapper, ILogger <SeriesServices> logger) { this._actorRepository = actorRepository; this._series = series; this._mapper = mapper; this._logger = logger; }
public ScheduleTrainingsController(AppDBContext context, IScheduleTrainingRepository scheduleTrainingRepository, IScheduleSeriesRepository scheduleSeriesRepository, ITrainingRepository trainingRepository, ISeriesRepository seriesRespository) { _context = context; this.scheduleTrainingRepository = scheduleTrainingRepository; this.scheduleSeriesRepository = scheduleSeriesRepository; this.trainingRepository = trainingRepository; this.seriesRespository = seriesRespository; }
public AddBookRequestHandler(IBookRepository bookRepository, IAuthorRepository authorRepository, ISeriesRepository seriesRepository, ICategoryRepository categoryRepository) { _bookRepository = bookRepository; _authorRepository = authorRepository; _seriesRepository = seriesRepository; _categoryRepository = categoryRepository; }
public RootFolderService(IRootFolderRepository rootFolderRepository, IDiskProvider diskProvider, ISeriesRepository seriesRepository, Logger logger) { _rootFolderRepository = rootFolderRepository; _diskProvider = diskProvider; _seriesRepository = seriesRepository; _logger = logger; }
/// <summary> /// Инициализирует экземпляр <see cref="UnitOfWork"/>. /// </summary> /// <param name="сontext">Контекст для работы с данными БД.</param> /// <param name="gameRepository">Репозиторий для работы с сущностями "Игра".</param> /// <param name="genreRepository">Репозиторий для работы с сущностями "Жанр".</param> /// <param name="seriesRepository">Репозиторий для работы с сущностями "Серия".</param> public UnitOfWork(GameAspAppContext сontext, IGameRepository gameRepository, IGenreRepository genreRepository, ISeriesRepository seriesRepository) { _сontext = сontext; _gameRepository = gameRepository; _genreRepository = genreRepository; _seriesRepository = seriesRepository; }
public RootFolderService(IBasicRepository<RootFolder> rootFolderRepository, IDiskProvider diskProvider, ISeriesRepository seriesRepository, IConfigService configService) { _rootFolderRepository = rootFolderRepository; _diskProvider = diskProvider; _seriesRepository = seriesRepository; _configService = configService; }
public RootFolderService(IBasicRepository <RootFolder> rootFolderRepository, IDiskProvider diskProvider, ISeriesRepository seriesRepository, IConfigService configService) { _rootFolderRepository = rootFolderRepository; _diskProvider = diskProvider; _seriesRepository = seriesRepository; _configService = configService; }
public void PopulateFiles(IPerformerRepository performerRepository, ISeriesRepository seriesRepository) { Files.Clear(); if (Directory.Exists(FolderPath)) { var files = Directory.GetFiles(FolderPath); foreach (string file in files) { FileToImport fileToImport = new FileToImport(file, performerRepository, seriesRepository); Files.Add(fileToImport); } } }
public IntegrationServiceMock (IWorkOrderRepository workOrderRepository = null, ILogService loggerService = null, IUnitOfWork unitOfWork = null, IUserRepository iUserRepository = null, IActivityTypeActivityStatusRepository activityTypeActivityStatusRepository = null, IWorkOrderTransactionRepositry iBillingWorkOrderTransactionRepositry = null, IVendorRepository iVendorRepository = null, IGraphicHeaderRepository iGraphicHeaderRepository = null, ICostCenterRepository iCostCenterRepository = null, IBudgetByCategoryRollupRepository iBudgetByCategoryRollupRepository = null, IDeliverableRepository iDeliverableRepository = null, IWorkOrderVendorRepository iWorkOrderVendorRepository = null, // IActivityRepository iActivityRepository, ITrackActivityElementRepository iTrackActivityElementRepository = null, ITitleRepository iTitleRepository = null, ISeasonRepository iSeasonRepository = null, ISeriesRepository iSeriesRepository = null, ITitleCategoryRepository iTitleCategoryRepository = null, IPremiereCategoryRepository iPremiereCategoryRepository = null, IScheduleRepository iScheduleRepository = null, // ITrackActivityHeaderRepository iTrackActivityHeaderRepository, IDeliverableStatusRepository iDeliverableStatusRepository = null, IScriptRepository iScriptRepository = null, IInternalRepository iInternalRepository = null, //Contract Request - EDMX fix // IContractRequestHeaderRepository iContractRequestHeaderRepository = null, // IContractRequestLineRepository iContractRequestLineRepository = null, IContentPlanRepository iContentPlanRepository = null, IContentPlanEventRepository iContentPlanEventRepository = null, IContentPlanEventDatesRepository iContentPlanEventDatesRepository = null, IContentPlanEventScheduleRepository iContentPlanEventScheduleRepository = null, IApprovalRepository iApprovalRepository = null, IApprovalStatusRepository iApprovalStatusRepository = null, IApprovalTypeRepository iApprovalTypeRepository = null, ICalendarRepository iCalendarRepository = null, IDeliverableBudgetRepository iDeliverableBudgetRepository = null, IWBSFiscalYear_ChannelRepository iWBSFiscalYear_ChannelRepository = null, ITypeOfWorkRepository iTypeOfWorkRepository = null, IInvoiceLineRepository iInvoiceLineRepository = null, IInvoiceHeaderRepository iInvoiceHeaderRepository = null, //Contract Request - EDMX fix IWorkOrderType_Channel_WorkOrderVendorRepository iWorkOrderType_Channel_WorkOrderVendorRepository = null, IWBSElementRepository _IWBSElementRepository = null) : base( workOrderRepository, loggerService, unitOfWork, iUserRepository, activityTypeActivityStatusRepository, iBillingWorkOrderTransactionRepositry, iVendorRepository, iGraphicHeaderRepository, iCostCenterRepository, iBudgetByCategoryRollupRepository, iDeliverableRepository, iWorkOrderVendorRepository, iTrackActivityElementRepository, iTitleRepository, iSeasonRepository, iSeriesRepository, iTitleCategoryRepository, iPremiereCategoryRepository, iScheduleRepository, iDeliverableStatusRepository, iScriptRepository, iInternalRepository, /*iContractRequestHeaderRepository,*///Contract Request - EDMX fix /*iContractRequestLineRepository,*/ iContentPlanRepository, iContentPlanEventRepository, iContentPlanEventDatesRepository, iContentPlanEventScheduleRepository, iApprovalRepository, iApprovalStatusRepository, iApprovalTypeRepository, iCalendarRepository, iDeliverableBudgetRepository, iWBSFiscalYear_ChannelRepository, iTypeOfWorkRepository, iInvoiceLineRepository, iInvoiceHeaderRepository, iWorkOrderType_Channel_WorkOrderVendorRepository, _IWBSElementRepository) { }
public AdminSeriesService( ISeriesRepository seriesRepository, IAdminCommonDeleteService adminDeleteService, IAdminCommonEditService adminEditService, IAdminCommonCreateService adminCreateService) { this.seriesRepository = seriesRepository; this.adminDeleteService = adminDeleteService; this.adminEditService = adminEditService; this.adminCreateService = adminCreateService; }
static void Main(string[] args) { IContainerRepositoriesFactory containerRepositoriesFactory = new ContainerRepositoriesFactory(); IContainerRepositories containerRepositories = new ContainerRepositories(); ISeriesRepository seriesRepository = containerRepositories.SeriesRepository; seriesRepository.GetSeries() .ToList() .ForEach(s => { Console.WriteLine(s.Title); }); Console.ReadKey(); }
public RootFolderService(IRootFolderRepository rootFolderRepository, IDiskProvider diskProvider, ISeriesRepository seriesRepository, IConfigService configService, Logger logger) { _rootFolderRepository = rootFolderRepository; _diskProvider = diskProvider; _seriesRepository = seriesRepository; _configService = configService; _logger = logger; }
public SeriesService(ISeriesRepository seriesRepository, IEventAggregator eventAggregator, IEpisodeService episodeService, IBuildSeriesPaths seriesPathBuilder, Logger logger) { _seriesRepository = seriesRepository; _eventAggregator = eventAggregator; _episodeService = episodeService; _seriesPathBuilder = seriesPathBuilder; _logger = logger; }
public TestForm() { InitializeComponent(); _eventGenerator = ServiceProvider.Instance.GetRequiredService <IEventGenerator>(); _pSimulator = ServiceProvider.Instance.GetRequiredService <IPracticeSimulator>(); _qSimulator = ServiceProvider.Instance.GetRequiredService <IQualifyingSimulator>(); _rSimulator = ServiceProvider.Instance.GetRequiredService <IRaceSimulator>(); _trackRepository = ServiceProvider.Instance.GetRequiredService <ITrackRepository>(); _seriesRepository = ServiceProvider.Instance.GetRequiredService <ISeriesRepository>(); }
public SeriesService(ISeriesRepository seriesRepository, IEventAggregator eventAggregator, IEpisodeService episodeService, IBuildFileNames fileNameBuilder, Logger logger) { _seriesRepository = seriesRepository; _eventAggregator = eventAggregator; _episodeService = episodeService; _fileNameBuilder = fileNameBuilder; _logger = logger; }
/// <summary> /// Helper for filling a database with series from old JSON file. /// </summary> /// <param name="filePath"></param> /// <param name="seriesRepository"></param> public static void FillDatabaseFromJson(string filePath, ISeriesRepository seriesRepository) { var jsonFile = File.ReadAllText(filePath); var seriesCollection = Common.Serialization.JsonToCollection <SeriesEntry>(jsonFile); foreach (var series in seriesCollection) { if (!seriesRepository.SeriesExists(series.Id).Result) { seriesRepository.Add(series); } } }
public SeriesType(ISeriesRepository seriesRepository, IPointRepository pointRepository) { Field(x => x.IdLab).Description("IdLab"); Field(x => x.IdProject).Description("IdProject"); Field(x => x.IdSeries).Description("IdSeries"); Field(x => x.Name).Description("Name"); Field(x => x.Timestamp, nullable: true).Description("Timestamp"); Field <ListGraphType <PointType> >( "points", resolve: x => pointRepository.GetPointsForSeries(x.Source.IdLab, x.Source.IdProject, x.Source.IdSeries) ); }
public EventGenerator( IEventRepository eventRepository, ITrackRepository trackRepository, IDriverRepository driverRepository, IVehicleRepository vehicleRepository, ISeriesRepository seriesRepository) { _eventRepository = eventRepository ?? throw new ArgumentNullException(nameof(eventRepository)); _trackRepository = trackRepository ?? throw new ArgumentNullException(nameof(trackRepository)); _driverRepository = driverRepository ?? throw new ArgumentNullException(nameof(driverRepository)); _vehicleRepository = vehicleRepository ?? throw new ArgumentNullException(nameof(vehicleRepository)); _seriesRepository = seriesRepository ?? throw new ArgumentNullException(nameof(seriesRepository)); }
public SeriesService(ISeriesRepository seriesRepository, IConfigService configServiceService, IEventAggregator eventAggregator, ISceneMappingService sceneMappingService, IEpisodeService episodeService, Logger logger) { _seriesRepository = seriesRepository; _configService = configServiceService; _eventAggregator = eventAggregator; _sceneMappingService = sceneMappingService; _episodeService = episodeService; _logger = logger; }
public RootFolderService(IRootFolderRepository rootFolderRepository, IDiskProvider diskProvider, ISeriesRepository seriesRepository, IMovieRepository movieRepository, IConfigService configService, Logger logger) { _rootFolderRepository = rootFolderRepository; _diskProvider = diskProvider; _seriesRepository = seriesRepository; _movieRepository = movieRepository; _configService = configService; _logger = logger; }
public SeriesService(ISeriesRepository seriesRepository, IConfigService configServiceService, IEventAggregator eventAggregator, ISceneMappingService sceneMappingService, IEpisodeService episodeService, Logger logger) { _seriesRepository = seriesRepository; _configService = configServiceService; _eventAggregator = eventAggregator; _sceneMappingService = sceneMappingService; _episodeService = episodeService; _logger = logger; }
public void Setup() { _comics = new TestData().Comics(); _series = new TestData().Series(); _userComics = new TestData().UserComics(); _userSeries = new TestData().UserSeries(); _userComicRepository = MockRepository.MockUserComicRepository(_userComics); _userSeriesRepository = MockRepository.MockUserSeriesRepository(_userSeries); _comicRepository = MockRepository.MockComicRepository(_comics); _seriesRepository = MockRepository.MockSeriesRepository(_series); _unitOfWork = new Mock <IUnitOfWork>().Object; _userComicService = new UserComicService(_userComicRepository, _comicRepository, _unitOfWork); _service = new UserSeriesService(_userComicService, _userSeriesRepository, _seriesRepository, _unitOfWork); }
public ItemProviderServiceApplication(IAuthorRepository authorRepository , IPublisherRepository publisherRepository , IGenreRepository genreRepository , ISeriesRepository seriesRepository , IShelfRepository shelfRepository , IRackRepository rackRepository) { _authorRepository = authorRepository; _publisherRepository = publisherRepository; _genreRepository = genreRepository; _seriesRepository = seriesRepository; _shelfRepository = shelfRepository; _rackRepository = rackRepository; }
public SeriesService(ISeriesRepository seriesRepository, IEventAggregator eventAggregator, ISceneMappingService sceneMappingService, IEpisodeService episodeService, IBuildFileNames fileNameBuilder, Logger logger) { _seriesRepository = seriesRepository; _eventAggregator = eventAggregator; _sceneMappingService = sceneMappingService; _episodeService = episodeService; _fileNameBuilder = fileNameBuilder; _logger = logger; }
public IntegrationServiceApplication(IParserApplication parserApplication, IBookRepository bookRepository, IAuthorRepository authorRepository, IPublisherRepository publisherRepository, IGenreRepository genreRepository, ISeriesRepository seriesRepository, IShelfRepository shelfRepository, IRackRepository rackRepository, ILogger logger, IUserRepository userRepository, IImporter importer, IFileReciever fileReciever) { _parserApplication = parserApplication; _bookRepository = bookRepository; _authorRepository = authorRepository; _publisherRepository = publisherRepository; _genreRepository = genreRepository; _seriesRepository = seriesRepository; _shelfRepository = shelfRepository; _rackRepository = rackRepository; _logger = logger; _userRepository = userRepository; _importer = importer; _fileReciever = fileReciever; }
public PokemonCardListTestService(IPokemonCardRepository pokemonCardRepository, ICardRepository cardRepository, IRarityRepository rarityRepository, ISeriesRepository seriesRepository, ICollectorRepository collectorRepository, ICollectionRepository collectionRepository ) : base(pokemonCardRepository)//, cardRepository, rarityRepository, seriesRepository, collectorRepository, collectionRepository) { _pokemonCardRepository = pokemonCardRepository; _cardRepository = cardRepository; _rarityRepository = rarityRepository; _seriesRepository = seriesRepository; _collectorRepository = collectorRepository; _collectionRepository = collectionRepository; }
public Series(ISeriesRepository seriesRepository, IDataMapper <EpisodeStartedDto, InternalEpisodeStartedModel> episodeStartedMapper, IDataMapper <SeriesDto, InternalSeries> seriesMapper, ITvMazeParser tvMazeParser, ITmdbParser tmdbparser, IWebClientManager webClientManager, ILogger log ) { _seriesRepository = seriesRepository; _episodeStartedMapper = episodeStartedMapper; _seriesMapper = seriesMapper; _tvMazeParser = tvMazeParser; _tmdbParser = tmdbparser; _webClientManager = webClientManager; _log = log; }
public DatabaseBuilder(IActorsRepository actorsRepository, IContentPathsRepository contentPathsRepository, IDirectorsRepository directorsRepository, IEpisodesRepository episodesRepository, IGenresRepository genresRepository, ISeasonsRepository seasonsRepository, ISeriesRepository seriesRepository, ISubtitlesRepository subtitlesRepository, IWritersRepository writersRepository, IMoviesRepository moviesRepository, OmdbApiHandler omdbApiHandler) { _actorsRepository = actorsRepository; _contentPathsRepository = contentPathsRepository; _directorsRepository = directorsRepository; _episodesRepository = episodesRepository; _genresRepository = genresRepository; _seasonsRepository = seasonsRepository; _seriesRepository = seriesRepository; _subtitlesRepository = subtitlesRepository; _writersRepository = writersRepository; _moviesRepository = moviesRepository; _omdbApiHandler = omdbApiHandler; }
public DatabaseBuilder(IActorsRepository actorsRepository, IContentPathsRepository contentPathsRepository, IDirectorsRepository directorsRepository, IEpisodesRepository episodesRepository, IGenresRepository genresRepository, ISeasonsRepository seasonsRepository, ISeriesRepository seriesRepository, ISubtitlesRepository subtitlesRepository, IWritersRepository writersRepository, IMoviesRepository moviesRepository, OmdbApiHandler omdbApiHandler) { _actorsRepository = actorsRepository; _contentPathsRepository = contentPathsRepository; _directorsRepository = directorsRepository; _episodesRepository = episodesRepository; _genresRepository = genresRepository; _seasonsRepository = seasonsRepository; _seriesRepository = seriesRepository; _subtitlesRepository = subtitlesRepository; _writersRepository = writersRepository; _moviesRepository = moviesRepository; _omdbApiHandler = omdbApiHandler; }
public DvdFolderToImport(string folderPath, IPerformerRepository performerRepository, ISeriesRepository seriesRepository) { DatabaseId = null; FolderPath = folderPath; DiscName = Path.GetFileName(FolderPath); Files = new List<FileToImport>(); PopulateFiles(performerRepository, seriesRepository); PerformersInFolderAll = new List<PerformerLocalDto>(); CompileAllPerformersInFolder(); // let the user pick this via the UI later GenreLocalDto genreDto = new GenreLocalDto() { Id = 3, Genre = "Stuff" }; SetFilesGenre(genreDto); // let the user pick this via the UI later WalletLocalDto walletDto = new WalletLocalDto() { Id = 1, WalletName = "Stuff" }; WalletType = walletDto.Id; }
public OmdbApiHandler(IActorsRepository actorsRepository, IContentPathsRepository contentPathsRepository, IDirectorsRepository directorsRepository, IEpisodesRepository episodesRepository, IGenresRepository genresRepository, ISeasonsRepository seasonsRepository, ISeriesRepository seriesRepository, ISubtitlesRepository subtitlesRepository, IWritersRepository writersRepository, IMoviesRepository moviesRepository) { _actorsRepository = actorsRepository; _contentPathsRepository = contentPathsRepository; _directorsRepository = directorsRepository; _episodesRepository = episodesRepository; _genresRepository = genresRepository; _moviesRepository = moviesRepository; _seasonsRepository = seasonsRepository; _seriesRepository = seriesRepository; _subtitlesRepository = subtitlesRepository; _writersRepository = writersRepository; var image = new Bitmap(Properties.Resources.default_avatar); _defaultAvatar = new MemoryStream(); image.Save(_defaultAvatar, System.Drawing.Imaging.ImageFormat.Png); }
public ConsoleBasedServerHandler(DatabaseBuilder databaseBuilder, IActorsRepository actorsRepository, IContentPathsRepository contentPathsRepository, IDirectorsRepository directorsRepository, IEpisodesRepository episodesRepository, IGenresRepository genresRepository, ISeasonsRepository seasonsRepository, ISeriesRepository seriesRepository, ISubtitlesRepository subtitlesRepository, IWritersRepository writersRepository, IMoviesRepository moviesRepository, FtpServer ftpServer) { _actorsRepository = actorsRepository; _contentPathsRepository = contentPathsRepository; _directorsRepository = directorsRepository; _episodesRepository = episodesRepository; _genresRepository = genresRepository; _moviesRepository = moviesRepository; _seasonsRepository = seasonsRepository; _seriesRepository = seriesRepository; _subtitlesRepository = subtitlesRepository; _writersRepository = writersRepository; _ftpServer = ftpServer; _databaseBuilder = databaseBuilder; CommandsDictionary = new Dictionary<string, Tuple<Action, string>> { {"help", new Tuple<Action, string>(PrintCommands, "Displays a list of all commands available.")}, {"exit", new Tuple<Action, string>(ExitServer, "Safely shuts down the server and exits the command console.")}, {"enableAutoStart", new Tuple<Action, string>(SetAutoStartOnLogin, "The server will start automatically when the user logs in.")}, {"disableAutoStart", new Tuple<Action, string>(DisableAutoStartOnLogin, "The server will no longer start automatically when the user logs in.")}, {"initServer", new Tuple<Action, string>(InitializaServer, "Manually start the server.")}, {"shutDownServer", new Tuple<Action, string>(ShutDownServer, "Manually stop the server.")}, {"restartServer", new Tuple<Action, string>(RestartServer, "Manually restart the server.")}, {"status", new Tuple<Action, string>(DisplayServerStatus, "Displays the server's status.")}, {"addToMoviesDirectories", new Tuple<Action, string>(AddToMoviesDirectories, "Adds specified directory to the movies directory list.")}, {"removeFromMoviesDirectories", new Tuple<Action, string>(RemoveFromMoviesDirectories, "Removes specified directory from the movies directory list.")}, {"listMoviesDirectories", new Tuple<Action, string>(ListMoviesDirectories, "Lists all known movies directories.")}, {"addAllOrNewMovies", new Tuple<Action, string>(AddAllOrNewMovies, "Scans all movies directories to find and add all or any missing movies to the database.")}, {"testImage", new Tuple<Action, string>(TestImage, "Copies the selected movie's poster to the current user's desktop.")} }; }
public UpdateCleanTitleForSeries(ISeriesRepository seriesRepository) { _seriesRepository = seriesRepository; }
public UpdateCleanTitleForSeries(ISeriesRepository seriesRepository, Logger logger) { _seriesRepository = seriesRepository; _logger = logger; }
public SeriesBusinessWorkflow(ISeriesRepository seriesRepository, ISeriesMapper seriesMapper) { SeriesRepository = seriesRepository; SeriesMapper = seriesMapper; }