Project Name File Name Usage Source Code Link
BTDB ObjectDB.cs _keyValueDB.StartWritingTransaction() .ContinueWith(t => new ObjectDBTransaction(this, t.Result), TaskContinuationOptions.ExecuteSynchronously) Link To Source File
Lokad.Cloud TaskFactoryExtensions.cs task.ContinueWith(t => completionSource.TrySetResult(t.Result), TaskContinuationOptions.OnlyOnRanToCompletion) Link To Source File
Lokad.Cloud TaskFactoryExtensions.cs task.ContinueWith(t => completionSource.TrySetCanceled(), TaskContinuationOptions.OnlyOnCanceled) Link To Source File
coapp AtomPackageFeed.cs Recognizer.Recognize(_remoteLocation.AbsoluteUri, Stale).ContinueWith(antecedent => { if (antecedent.IsFaulted || antecedent.IsCanceled) { return false; } if (antecedent.Result != null && antecedent.Result.IsAtom) { _localLocation = antecedent.Result.FullPath; return true; } return false; }, TaskContinuationOptions.AttachedToParent) Link To Source File
_toolkit_deprecated AtomPackageFeed.cs Recognizer.Recognize(_remoteLocation.AbsoluteUri, Stale).ContinueWith(antecedent => { if (antecedent.IsFaulted || antecedent.IsCanceled) { return false; } if (antecedent.Result != null && antecedent.Result.IsAtom) { _localLocation = antecedent.Result.FullPath; return true; } return false; }, TaskContinuationOptions.AttachedToParent) Link To Source File
Pentacorn LinqToTasks.cs source.ContinueWith(t => selector(t.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
Pentacorn LinqToTasks.cs source.ContinueWith(t => selector(t.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
Pentacorn LinqToTasks.cs source.ContinueWith(t => { return collectionSelector(t.Result). ContinueWith(c => resultSelector(t.Result, c.Result), TaskContinuationOptions.NotOnCanceled); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
Pentacorn LinqToTasks.cs collectionSelector(t.Result). ContinueWith(c => resultSelector(t.Result, c.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
Pentacorn LinqToTasks.cs outer.ContinueWith(delegate { var cts = new CancellationTokenSource(); return inner.ContinueWith(delegate { // Propagate all exceptions Task.WaitAll(outer, inner); // Both completed successfully, so if their keys are equal, return the result if (comparer.Equals(outerKeySelector(outer.Result), innerKeySelector(inner.Result))) { return resultSelector(outer.Result, inner.Result); } // Otherwise, cancel this task. else { cts.CancelAndThrow(); return default(TResult); // won't be reached } }, cts.Token, TaskContinuationOptions.NotOnCanceled, TaskScheduler.Default); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
Pentacorn LinqToTasks.cs outer.ContinueWith(delegate { var cts = new CancellationTokenSource(); return inner.ContinueWith(delegate { // Propagate all exceptions Task.WaitAll(outer, inner); // Both completed successfully, so if their keys are equal, return the result if (comparer.Equals(outerKeySelector(outer.Result), innerKeySelector(inner.Result))) { return resultSelector(outer.Result, inner); } // Otherwise, cancel this task. else { cts.CancelAndThrow(); return default(TResult); // won't be reached } }, cts.Token, TaskContinuationOptions.NotOnCanceled, TaskScheduler.Default); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
lokad-cqrs RepopulateView.cs task.ContinueWith(t => action(t.Result), TaskContinuationOptions.OnlyOnRanToCompletion) Link To Source File
taco TaskExtensions.cs task.ContinueWith(t => continuation(t.Result), TaskContinuationOptions.AttachedToParent | TaskContinuationOptions.OnlyOnRanToCompletion | TaskContinuationOptions.ExecuteSynchronously) Link To Source File
taco TaskExtensions.cs task.ContinueWith(t => t.IsFaulted ? handler(t.Exception) : t.Result, TaskContinuationOptions.AttachedToParent | TaskContinuationOptions.ExecuteSynchronously) Link To Source File
SwarmIntelligence FileAsync.cs asyncRead.ContinueWith(t => { fs.Close(); return t.Result; }, TaskContinuationOptions.ExecuteSynchronously) Link To Source File
SwarmIntelligence LinqToTasks.cs source.ContinueWith(t => selector(t.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
SwarmIntelligence LinqToTasks.cs source.ContinueWith(t => selector(t.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
SwarmIntelligence LinqToTasks.cs source.ContinueWith(t => { return collectionSelector(t.Result). ContinueWith(c => resultSelector(t.Result, c.Result), TaskContinuationOptions.NotOnCanceled); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
SwarmIntelligence LinqToTasks.cs collectionSelector(t.Result). ContinueWith(c => resultSelector(t.Result, c.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
SwarmIntelligence LinqToTasks.cs outer.ContinueWith(delegate { var cts = new CancellationTokenSource(); return inner.ContinueWith(delegate { // Propagate all exceptions Task.WaitAll(outer, inner); // Both completed successfully, so if their keys are equal, return the result if (comparer.Equals(outerKeySelector(outer.Result), innerKeySelector(inner.Result))) { return resultSelector(outer.Result, inner.Result); } // Otherwise, cancel this task. else { cts.CancelAndThrow(); return default(TResult); // won't be reached } }, cts.Token, TaskContinuationOptions.NotOnCanceled, TaskScheduler.Default); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
SwarmIntelligence LinqToTasks.cs outer.ContinueWith(delegate { var cts = new CancellationTokenSource(); return inner.ContinueWith(delegate { // Propagate all exceptions Task.WaitAll(outer, inner); // Both completed successfully, so if their keys are equal, return the result if (comparer.Equals(outerKeySelector(outer.Result), innerKeySelector(inner.Result))) { return resultSelector(outer.Result, inner); } // Otherwise, cancel this task. else { cts.CancelAndThrow(); return default(TResult); // won't be reached } }, cts.Token, TaskContinuationOptions.NotOnCanceled, TaskScheduler.Default); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
ODataLib ODataMessageWriter.cs this.message.GetStreamAsync() .ContinueWith( (streamTask) => createFunc(streamTask.Result), TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.AttachedToParent) Link To Source File
ODataLib ODataMessageWriter.cs this.message.GetStreamAsync() .ContinueWith( (streamTask) => createFunc(streamTask.Result), TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.AttachedToParent) Link To Source File
ODataLib ODataMessageWriter.cs this.message.GetStreamAsync() .ContinueWith( (streamTask) => createFunc(streamTask.Result), TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.AttachedToParent) Link To Source File
ODataLib ODataMessageWriter.cs this.message.GetStreamAsync() .ContinueWith( (streamTask) => createFunc(streamTask.Result), TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.AttachedToParent) Link To Source File
ODataLib ODataMessageWriter.cs this.message.GetStreamAsync() .ContinueWith((streamTask) => writeFunc(streamTask.Result), TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.AttachedToParent) .ContinueWith( (asyncWriterTask) => (asyncWriterTask.Result.FlushAsync() .ContinueWith( (asyncWriterTask2) => asyncWriterTask2.Result.Dispose(), TaskContinuationOptions.AttachedToParent | TaskContinuationOptions.ExecuteSynchronously)), TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.AttachedToParent) Link To Source File
ODataLib ODataMessageWriter.cs this.message.GetStreamAsync() .ContinueWith((streamTask) => writeFunc(streamTask.Result), TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.AttachedToParent) Link To Source File
WCell LinqToTasks.cs source.ContinueWith(t => selector(t.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
WCell LinqToTasks.cs source.ContinueWith(t => selector(t.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
WCell LinqToTasks.cs source.ContinueWith(t => { return collectionSelector(t.Result). ContinueWith(c => resultSelector(t.Result, c.Result), TaskContinuationOptions.NotOnCanceled); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
WCell LinqToTasks.cs collectionSelector(t.Result). ContinueWith(c => resultSelector(t.Result, c.Result), TaskContinuationOptions.NotOnCanceled) Link To Source File
WCell LinqToTasks.cs outer.ContinueWith(delegate { var cts = new CancellationTokenSource(); return inner.ContinueWith(delegate { // Propagate all exceptions Task.WaitAll(outer, inner); // Both completed successfully, so if their keys are equal, return the result if (comparer.Equals(outerKeySelector(outer.Result), innerKeySelector(inner.Result))) { return resultSelector(outer.Result, inner.Result); } // Otherwise, cancel this task. else { cts.CancelAndThrow(); return default(TResult); // won't be reached } }, cts.Token, TaskContinuationOptions.NotOnCanceled, TaskScheduler.Default); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
WCell LinqToTasks.cs outer.ContinueWith(delegate { var cts = new CancellationTokenSource(); return inner.ContinueWith(delegate { // Propagate all exceptions Task.WaitAll(outer, inner); // Both completed successfully, so if their keys are equal, return the result if (comparer.Equals(outerKeySelector(outer.Result), innerKeySelector(inner.Result))) { return resultSelector(outer.Result, inner); } // Otherwise, cancel this task. else { cts.CancelAndThrow(); return default(TResult); // won't be reached } }, cts.Token, TaskContinuationOptions.NotOnCanceled, TaskScheduler.Default); }, TaskContinuationOptions.NotOnCanceled) Link To Source File
WCell TaskFactoryExtensions.cs t.ContinueWith(_ => rwh.Unregister(null), TaskContinuationOptions.ExecuteSynchronously) Link To Source File