예제 #1
0
 public LibraryMatchingService(ILibraryService libraryService, IMatchEngineService matchEngineService,
                               IInsightsService insightsService, IDownloadService downloadService)
 {
     _libraryService     = libraryService;
     _matchEngineService = matchEngineService;
     _insightsService    = insightsService;
     _downloadService    = downloadService;
 }
예제 #2
0
 public LibraryMatchingService(ILibraryService libraryService, IMatchEngineService matchEngineService,
     IInsightsService insightsService, IDownloadService downloadService)
 {
     _libraryService = libraryService;
     _matchEngineService = matchEngineService;
     _insightsService = insightsService;
     _downloadService = downloadService;
 }
예제 #3
0
 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>();
 }
예제 #4
0
 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>();
 }