Project Name File Name Usage Source Code Link
LoconetToolbox MainForm.cs task.ContinueWith(x => ProcessVersionCheckResult(x.Result), TaskScheduler.FromCurrentSynchronizationContext()) Link To Source File
nuget PackagesTreeNodeBase.cs Task.Factory.StartNew( (state) => ExecuteAsync(pageNumber, _currentCancellationSource.Token), _currentCancellationSource, _currentCancellationSource.Token).ContinueWith(QueryExecutionCompleted, uiScheduler) Link To Source File
nuget PackageChooserViewModel.cs Task.Factory.StartNew, int>>(QueryPackages, subQuery).ContinueWith( result => { if (result.IsFaulted) { AggregateException exception = result.Exception; StatusContent = (exception.InnerException ?? exception).Message; ClearPackages(); } else if (!result.IsCanceled) { ShowPackages(result.Result.Item1, result.Result.Item2, page); StatusContent = String.Empty; // update sort column glyph SortCounter++; } IsEditable = true; }, uiScheduler) Link To Source File
NicoCacheDriver NicoCacheDriverForm.cs mylistTask.ContinueWith(task => { task.Wait(); var result = task.Result; WithEditQueueingUrls(beforeLines => { return beforeLines .TakeWhile(x => !string.Equals(messageLine, x, StringComparison.Ordinal)) .Concat(result); }); RestoreAllControlEnabledStatus(stateMap); }, TaskScheduler.FromCurrentSynchronizationContext()) Link To Source File
Maggie.WPF ScrapeService.cs getWebPagesTask.ContinueWith(o => ParsePatentPages(getWebPagesTask, so), _ScrapeServiceTaskScheduler) Link To Source File
ILSpy LoadedAssembly.cs this.assemblyTask.ContinueWith(onAssemblyLoaded, taskScheduler) Link To Source File
SharpDevelop PackageManagementTask.cs task.ContinueWith(result => OnContinueWith(result), scheduler) Link To Source File
nuget PackagesTreeNodeBase.cs Task.Factory.StartNew( (state) => ExecuteAsync(pageNumber, _currentCancellationSource.Token), _currentCancellationSource, _currentCancellationSource.Token).ContinueWith(QueryExecutionCompleted, uiScheduler) Link To Source File
SwarmIntelligence TaskExtensions.cs task.ContinueWith(delegate { if(task.IsFaulted) tcs.TrySetException(task.Exception.InnerExceptions); else if(task.IsCanceled) tcs.TrySetCanceled(); else try { next(task.Result); tcs.TrySetResult(null); } catch(Exception exc) { tcs.TrySetException(exc); } }, TaskScheduler.Default) Link To Source File
SwarmIntelligence TaskExtensions.cs task.ContinueWith(delegate { if(task.IsFaulted) tcs.TrySetException(task.Exception.InnerExceptions); else if(task.IsCanceled) tcs.TrySetCanceled(); else try { TNewResult result = next(task.Result); tcs.TrySetResult(result); } catch(Exception exc) { tcs.TrySetException(exc); } }, TaskScheduler.Default) Link To Source File
SwarmIntelligence TaskExtensions.cs task.ContinueWith(delegate { // When the first task completes, if it faulted or was canceled, bail if(task.IsFaulted) tcs.TrySetException(task.Exception.InnerExceptions); else if(task.IsCanceled) tcs.TrySetCanceled(); else // Otherwise, get the next task. If it's null, bail. If not, // when it's done we'll have our result. try { next(task.Result).ContinueWith(t => tcs.TrySetFromTask(t), TaskScheduler.Default); } catch(Exception exc) { tcs.TrySetException(exc); } }, TaskScheduler.Default) Link To Source File
SwarmIntelligence TaskExtensions.cs task.ContinueWith(delegate { // When the first task completes, if it faulted or was canceled, bail if(task.IsFaulted) tcs.TrySetException(task.Exception.InnerExceptions); else if(task.IsCanceled) tcs.TrySetCanceled(); else // Otherwise, get the next task. If it's null, bail. If not, // when it's done we'll have our result. try { next(task.Result).ContinueWith(t => tcs.TrySetFromTask(t), TaskScheduler.Default); } catch(Exception exc) { tcs.TrySetException(exc); } }, TaskScheduler.Default) Link To Source File
NugetCracker PackagesTreeNodeBase.cs Task.Factory.StartNew( (state) => ExecuteAsync(pageNumber, _currentCancellationSource.Token), _currentCancellationSource, _currentCancellationSource.Token).ContinueWith(QueryExecutionCompleted, uiScheduler) Link To Source File
Fuzz AlgorithmBase.cs Task.Factory .StartNew(ProcessData) .ContinueWith(t => { Output = t.Result; InvokeExecutionCompleted(); }, TaskScheduler.FromCurrentSynchronizationContext()) Link To Source File
snippets ParallelStarter.cs compute.ContinueWith(r => { var result = SumRootN(j); Console.WriteLine("root {0} : {1} ", j, r.Result); }, ui) Link To Source File
torshify-r4dio TrackDJSetupViewModel.cs Task>.Factory .StartNew(MoodRadioStationViewModel.GetAvailableMoods) .ContinueWith(t => { AvailableMoods.Clear(); foreach (var termModel in t.Result) { AvailableMoods.Add(termModel); } }, ui) Link To Source File
torshify-r4dio TrackDJSetupViewModel.cs Task>.Factory .StartNew(StyleRadioStationViewModel.GetAvailableStyles) .ContinueWith(t => { AvailableStyles.Clear(); foreach (var termModel in t.Result) { AvailableStyles.Add(termModel); } }, ui) Link To Source File
tomato ReportDownloader.cs asyncTask.ContinueWith( (downloadTask) => this.AsyncOperationCompleted(downloadTask, this.InvokeDownloadCompleted), this.CreateTaskScheduler(eventThread)) Link To Source File
tomato ReportDownloader.cs asyncTask.ContinueWith( (downloadTask) => this.AsyncOperationCompleted(downloadTask, this.InvokeDownloadDailyCompleted), this.CreateTaskScheduler(eventThread)) Link To Source File
tomato ReportDownloader.cs asyncTask.ContinueWith( (downloadTask) => this.AsyncOperationCompleted(downloadTask, this.InvokeDownloadMonthlyCompleted), this.CreateTaskScheduler(eventThread)) Link To Source File