Example #1
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;
 }
Example #2
0
 public MusicCollectionScreenVm(
     IMusicCollectionManager musicCollectionManager,
     IImageCollectionManager imageCollectionManager,
     IFileManager fileManager,
     PreviewFactory previewFactory,
     ILongOperationService longOperationService,
     IUserNotificationService userNotificationService,
     ILoggerManager manager) : base(longOperationService, userNotificationService, manager)
 {
     _musicCollectionManager = musicCollectionManager;
     _imageCollectionManager = imageCollectionManager;
     _fileManager            = fileManager;
     _previewFactory         = previewFactory;
     _allArtists             = _musicCollectionManager.GetAllArtists().ToList();
     LoadAllArtistsInCollection();
     ShowAlbumsNotInCollection = false;
     IsSelectionEnabled        = false;
     MusicStyles = _musicCollectionManager.GetMusicStylesList();
     MusicGenres = _musicCollectionManager.GetMusicGenresList();
 }