Ejemplo n.º 1
0
        public ImagesCacheService(
            IGrooveMusicService grooveMusicService,
            LastfmClient lfClient,
            INetworkInfoService networkInfoService)
        {
            _grooveMusicService = grooveMusicService;
            _lfClient           = lfClient;
            _networkInfoService = networkInfoService;

            _artistsQueue = new TaskQueue();
            _albumsQueue  = new TaskQueue();
        }
Ejemplo n.º 2
0
        public TestViewModel(IAppNotificationsService appNotificationsService, IVKLongPollService vkLongPollService,
                             IGrooveMusicService gms, IPushNotificationsService pushNotificationsService, ISettingsService settingsService)
        {
            this.appNotificationsService = appNotificationsService;
            this.vkLongPollService       = vkLongPollService;
            this.gms = gms;
            this.pushNotificationsService = pushNotificationsService;
            this.settingsService          = settingsService;

            ShowSimplePush = new DelegateCommand <string>(OnShowSimplePush);
            ShowCustomPush = new DelegateCommand(OnShowCustomPush);
            DeserializeLongPollResponse = new DelegateCommand(OnDeserializeLongPollResponse);
        }