public LibraryTracksViewModel(TrackContextMenuViewModel trackContextMenuViewModel, IPlayRequestHandler playRequestHandler, ILibrarySortingService sortingService) { _playRequestHandler = playRequestHandler; _sortingService = sortingService; TrackContextMenu = trackContextMenuViewModel; PlayArtistCommand = new RelayCommand(OnPlayArtist); PlayAlbumCommand = new RelayCommand(OnPlayAlbum); }
public LibraryDataOrganiserService(ITaggingService taggingService, ICommentProcessingService commentProcessingService, Library library, ILibrarySortingService sortingService) { _library = library; _sortingService = sortingService; _taggingService = taggingService; _commentProcessingService = commentProcessingService; }
public TrackUpdateService(ILibraryDataOrganiserService libraryOrganiserService, ITaggingService taggingService, ICommentProcessingService commentProcessingService, ILibrarySortingService sortingService) { _commentProcessingService = commentProcessingService; _libraryOrganiserService = libraryOrganiserService; _sortingService = sortingService; _taggingService = taggingService; }
public LibraryService(IFileService fileService, ILibraryDataOrganiserService libraryDataOrganiserService, ITaggingService taggingService, ITrackRepository dataPersistenceService, IUserSettings userSettings, ILibrarySortingService librarySortingService, IConfigSettings configSettings) { _fileService = fileService; _libraryDataOrganiserService = libraryDataOrganiserService; _librarySortingService = librarySortingService; _dataPersistenceService = dataPersistenceService; _taggingService = taggingService; _userSettings = userSettings; _configSettings = configSettings; }
public LibraryViewModel(Common.Singletons.Library library, ILibrarySortingService librarySortingService, IPlayRequestHandler playRequestHandler, LibraryArtistViewModel artistViewModel, LibraryTracksViewModel tracksViewModel) : base(TabType.Library, IconType.Book, Resources.TabTitleLibrary) { _library = library; _librarySortingService = librarySortingService; _playRequestHandler = playRequestHandler; Artists = new List <Artist>(); ArtistViewModel = artistViewModel; TracksViewModel = tracksViewModel; ArtistTypeAlbum = true; ShuffleArtistCommand = new RelayCommand <Artist>(OnShuffleArtist); _library.Updated += OnLibraryUpdated; }