public TvShowMetadataService(IFileSystemService fileSystemService, ITvShowImagesService imagesService, ITvShowMetadataRepository metadataRepository, ITvShowMetadataUpdater metadataUpdater)
 {
     _fileSystemService = fileSystemService;
     _imagesService = imagesService;
     _metadataRepository = metadataRepository;
     _metadataUpdater = metadataUpdater;
 }
 public TvShowMetadataService(IFileSystemService fileSystemService, ITvShowImagesService imagesService, ITvShowMetadataRepository metadataRepository, ITvShowMetadataUpdater metadataUpdater)
 {
     _fileSystemService  = fileSystemService;
     _imagesService      = imagesService;
     _metadataRepository = metadataRepository;
     _metadataUpdater    = metadataUpdater;
 }
 public TvShowMetadataServiceTests()
 {
     _imageService = Substitute.For<ITvShowImagesService>();
     _metadataRepository = Substitute.For<ITvShowMetadataRepository>();
     _metadataUpdater = Substitute.For<ITvShowMetadataUpdater>();
     _path = @"C:\Folder\TV Shows\Game of Thrones";
     _service = new TvShowMetadataService(null, _imageService, _metadataRepository, _metadataUpdater);
 }
예제 #4
0
 public TvShowMetadataServiceTests()
 {
     _imageService       = Substitute.For <ITvShowImagesService>();
     _metadataRepository = Substitute.For <ITvShowMetadataRepository>();
     _metadataUpdater    = Substitute.For <ITvShowMetadataUpdater>();
     _path    = @"C:\Folder\TV Shows\Game of Thrones";
     _service = new TvShowMetadataService(null, _imageService, _metadataRepository, _metadataUpdater);
 }