public MusicCollectionManager(DiscogsClient client,
                               IFileManager fileManager,
                               IMusicFileAnalyzer musicFileAnalyzer,
                               IMusicDirAnalyzer musicDirAnalyzer,
                               IImageCollectionManager imageCollectionManager,
                               IRepository repository,
                               ILoggerManager manager)
 {
     _discogsClient          = client;
     _fileManager            = fileManager;
     _musicFileAnalyzer      = musicFileAnalyzer;
     _musicDirAnalyzer       = musicDirAnalyzer;
     _imageCollectionManager = imageCollectionManager;
     _repo = repository;
     log   = manager.GetLogger(this);
     _genreAndStyleProvider = new GenreAndStyleProvider();
     _discogsConverter      = new DiscogsConverter(_genreAndStyleProvider);
 }
Example #2
0
 public MusicSearchScreenVm(
     DiscogsClient client,
     IMusicCollectionManager musicCollectionManager,
     IRepository repository, IMusicFileAnalyzer musicFileAnalyzer,
     IMusicDirAnalyzer musicDirAnalyzer,
     IFileManager fileManager,
     PreviewFactory previewFactory,
     ILongOperationService longOperationService,
     IUserNotificationService userNotificationService,
     ILoggerManager manager) : base(longOperationService, userNotificationService, manager)
 {
     _discogsClient          = client;
     _musicCollectionManager = musicCollectionManager;
     _repo = repository;
     _musicFileAnalyzer = musicFileAnalyzer;
     _musicDirAnalyzer  = musicDirAnalyzer;
     _fileManager       = fileManager;
     _previewFactory    = previewFactory;
 }
 public MusicDirAnalyzer(IMusicFileAnalyzer musicFileAnalyzer)
 {
     _musicFileAnalyzer = musicFileAnalyzer;
 }
 public PreviewFactory(IMusicFileAnalyzer musicFileAnalyzer, IFileManager fileManager)
 {
     _musicFileAnalyzer = musicFileAnalyzer;
     _fileManager       = fileManager;
 }