Exemplo n.º 1
0
 public FolderUtility(IDocumentUtility wordDocumentUtility, IDocumentUtility excelDocumentUtility,
                      IAppSettingsUtility appSettings)
 {
     _wordDocumentUtility  = wordDocumentUtility;
     _excelDocumentUtility = excelDocumentUtility;
     _appSettings          = appSettings;
 }
Exemplo n.º 2
0
 public DownloadService(
     ILibraryService libraryService,
     IDispatcherUtility dispatcherUtility,
     IAppSettingsUtility appSettingsUtility,
     IPlayerService playerService)
 {
     _libraryService = libraryService;
     _dispatcherUtility = dispatcherUtility;
     _appSettingsUtility = appSettingsUtility;
     _playerService = playerService;
     ActiveDownloads = new ObservableCollection<Track>();
 }
Exemplo n.º 3
0
        public SettingsPageViewModel(
            IAppSettingsUtility appSettingsUtility,
            IMusicImportService musicImportService,
            ILibraryService libraryService)
        {
            _musicImportService = musicImportService;
            _libraryService     = libraryService;
            AppSettingsUtility  = appSettingsUtility;

            ImportCommand = new DelegateCommand(ImportExecute);
            DeleteCommand = new DelegateCommand(DeleteExecute);
        }
Exemplo n.º 4
0
 public DownloadService(
     ILibraryService libraryService,
     IDispatcherUtility dispatcherUtility,
     IAppSettingsUtility appSettingsUtility,
     IPlayerService playerService)
 {
     _libraryService     = libraryService;
     _dispatcherUtility  = dispatcherUtility;
     _appSettingsUtility = appSettingsUtility;
     _playerService      = playerService;
     ActiveDownloads     = new ObservableCollection <Track>();
 }
Exemplo n.º 5
0
        public SettingsPageViewModel(
            IAppSettingsUtility appSettingsUtility,
            IMusicImportService musicImportService,
            ILibraryService libraryService)
        {
            _musicImportService = musicImportService;
            _libraryService = libraryService;
            AppSettingsUtility = appSettingsUtility;

            ImportCommand = new DelegateCommand(ImportExecute);
            DeleteCommand = new DelegateCommand(DeleteExecute);
        }