public ChatCollectServiceViewModel(Model.ChatCollectService.IChatCollectService service, IObservable <Unit> update) { this.Service = service; this.InformationText = service.GetInformationText(); disposable = update.Subscribe(_ => { InformationText = service.GetInformationText(); }); }
private void model_ErrorOccurredInChatPosting(Model.ChatCollectService.IChatCollectService service, Model.ChatCollectService.BasicChatPostObject postObject, string errorText) { AlertRequest.Raise(new Notification { Title = "TVTCommentエラー", Content = $"\"{service.Name}\"にコメントを投稿するとき以下のエラーが発生しました。\n\n{errorText}" }); }
private void model_ErrorOccurredInChatCollecting(Model.ChatCollectService.IChatCollectService service, string errorText) { AlertRequest.Raise(new Notification { Title = "TVTCommentエラー", Content = $"\"{service.Name}\"で以下のエラーが発生しました。このコメント元を無効化します。\n\n{errorText}" }); }