public LibraryService( SQLiteConnection sqLiteConnection, IDispatcherUtility dispatcherUtility) { _sqLiteConnection = sqLiteConnection; _dispatcherUtility = dispatcherUtility; }
public LibraryService( SQLiteConnection sqLiteConnection, IDispatcherUtility dispatcherUtility) { _sqLiteConnection = sqLiteConnection; _dispatcherUtility = dispatcherUtility; }
public StartingViewModel(ITorrentStreamService torrentStreamService, INavigationService navigationService, IDispatcherUtility dispatcherUtility) { _torrentStreamService = torrentStreamService; _navigationService = navigationService; _dispatcherUtility = dispatcherUtility; }
public StartingViewModel(ITorrentStreamService torrentStreamService, INavigationService navigationService, IDispatcherUtility dispatcherUtility) { _torrentStreamService = torrentStreamService; _navigationService = navigationService; _dispatcherUtility = dispatcherUtility; }
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 DownloadService( ILibraryService libraryService, IDispatcherUtility dispatcherUtility, IAppSettingsUtility appSettingsUtility, IPlayerService playerService) { _libraryService = libraryService; _dispatcherUtility = dispatcherUtility; _appSettingsUtility = appSettingsUtility; _playerService = playerService; ActiveDownloads = new ObservableCollection<Track>(); }
public DownloadService( ILibraryService libraryService, IDispatcherUtility dispatcherUtility, IAppSettingsUtility appSettingsUtility, IPlayerService playerService) { _libraryService = libraryService; _dispatcherUtility = dispatcherUtility; _appSettingsUtility = appSettingsUtility; _playerService = playerService; ActiveDownloads = new ObservableCollection <Track>(); }
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 LibraryCollectionService(ILibraryService libraryService, IDispatcherUtility dispatcherUtility) { _libraryService = libraryService; _dispatcherUtility = dispatcherUtility; if (_libraryService.IsLoaded) { Configure(); } else { _libraryService.Loaded += LibraryServiceOnLoaded; } }
public void Attach(DependencyObject associatedObject) { _dispatcher = WindowWrapper.Current().Dispatcher; BootStrapper.BackRequested += BootStrapper_BackRequested; }
public void Attach(DependencyObject associatedObject) { _dispatcher = WindowWrapper.Current().Dispatcher; BootStrapper.BackRequested += BootStrapper_BackRequested; }