Example #1
0
        public SearchViewModel(IScrobblerService service,
                               ISpotifyService spotify,
                               IMiscellaneousService misc,
                               IDeezerService deezer,
                               CollectionCommandHelper commands)
        {
            _spotify  = spotify;
            _service  = service;
            _misc     = misc;
            _deezer   = deezer;
            _commands = commands;



            KeyDownRelayCommand   = new Command <KeyRoutedEventArgs>(KeyDownExecute);
            SongClickRelayCommand = new Command <ItemClickEventArgs>(SongClickExecute);
            VideoClickCommand     = new Command <ItemClickEventArgs>(VideoClickExecute);
        }
 public DeezerController(IDeezerService service)
 {
     _service = service;
 }
Example #3
0
 public AudioController(IAuddService auddService, IDeezerService deezerService)
 {
     _auddService   = auddService ?? throw new ArgumentNullException(nameof(auddService));
     _deezerService = deezerService ?? throw new ArgumentNullException(nameof(deezerService));
 }
Example #4
0
 public DeezerController(IDeezerService deezerService, IMapper mapper)
 {
     this.deezerService = deezerService;
     this.mapper        = mapper;
 }
Example #5
0
 public FindSongService(IAuddioService auddioService, IDeezerService deezerService)
 {
     _auddioService = auddioService;
     _deezerService = deezerService;
 }