public LibraryMatchingService(ILibraryService libraryService, IMatchEngineService matchEngineService, IInsightsService insightsService, IDownloadService downloadService) { _libraryService = libraryService; _matchEngineService = matchEngineService; _insightsService = insightsService; _downloadService = downloadService; }
public PlayerService(ISettingsUtility settingsUtility, IDispatcherUtility dispatcherUtility, IMatchEngineService matchEngineService, IConverter <WebSong, Track> webSongConverter) { _settingsUtility = settingsUtility; _dispatcherUtility = dispatcherUtility; _matchEngineService = matchEngineService; _webSongConverter = webSongConverter; // Setup the initialization lock _backgroundAudioTaskStarted = new AutoResetEvent(false); _settingsUtility.Write(ApplicationSettingsConstants.AppState, AppState.Active); PlaybackQueue = new OptimizedObservableCollection <QueueTrack>(); }
public PlayerService(ISettingsUtility settingsUtility, IDispatcherUtility dispatcherUtility, IMatchEngineService matchEngineService, IConverter<WebSong, Track> webSongConverter) { _settingsUtility = settingsUtility; _dispatcherUtility = dispatcherUtility; _matchEngineService = matchEngineService; _webSongConverter = webSongConverter; // Setup the initialization lock _backgroundAudioTaskStarted = new AutoResetEvent(false); _settingsUtility.Write(ApplicationSettingsConstants.AppState, AppState.Active); PlaybackQueue = new OptimizedObservableCollection<QueueTrack>(); }