Esempio n. 1
0
        public async void Receive(VideoDeletedMessage message)
        {
            var videoInfo = message.Value;

            if (await VideoCacheManager.DeleteFromNiconicoServer(videoInfo.VideoId))
            {
                NotificationService.ShowToast("ToastNotification_VideoDeletedWithId".Translate(videoInfo.VideoId)
                                              , "ToastNotification_ExplainVideoForceDeletion".Translate(videoInfo?.Title ?? videoInfo.VideoId)
                                              , Microsoft.Toolkit.Uwp.Notifications.ToastDuration.Long
                                              );
            }
        }