public RefreshAsync ( Twitter tw, bool startup, IProgress |
||
tw | ||
startup | bool | |
progress | IProgress |
|
Результат | System.Threading.Tasks.Task |
public Task RefreshAsync(Twitter tw, bool startup, IProgress<string> progress)
=> this.RefreshAsync(tw, false, startup, progress);
RelatedPostsTabModel::RefreshAsync ( Twitter tw, bool _, bool startup, IProgress |
private async Task GetRelatedTweetsAsync(RelatedPostsTabModel tab) { await this.workerSemaphore.WaitAsync(); try { await tab.RefreshAsync(this.tw, this._initial, this.workerProgress); this.RefreshTimeline(); } catch (WebApiException ex) { this._myStatusError = true; this.StatusLabel.Text = $"Err:{ex.Message}(GetRelatedTweets)"; } finally { this.workerSemaphore.Release(); } }