Project Name File Name Usage Source Code Link
soundfingerprinting RepositoryGateway.cs /*When all producers ended with their operations, call the CompleteAdding() to tell Consumers no more items are available*/ Task.Factory.ContinueWhenAll(producers.ToArray(), (p) => buffer.CompleteAdding()) Link To Source File
siren LastFMUpdater.cs factory.ContinueWhenAll(tasks.ToArray(), delegate(Task[] t) { finished = true; }) Link To Source File
CouchDude CouchDBReplicator.cs Task.Factory.ContinueWhenAll( loadTasks, tasks => { var existingDescriptors = ( from loadTask in tasks select loadTask.Result into descriptor where descriptor != null select descriptor).ToArray(); Log.InfoFormat( "{0} replication descriptors found in the _replicator database: {1}", existingDescriptors.Length, string.Join(", ", existingDescriptors.Select(d => d.Id))); return existingDescriptors; }) Link To Source File
CouchDude CouchDBReplicator.cs Task.Factory.ContinueWhenAll(deleteTasks.ToArray(), ThrowAggregateIfFaulted) Link To Source File
CouchDude CouchDBReplicator.cs Task.Factory.ContinueWhenAll(createDescriptorsTasks, ThrowAggregateIfFaulted) Link To Source File
somerset Spider.cs Task.Factory.ContinueWhenAll(taskQueue.ToArray(), completedTasks => { foreach (Task task in completedTasks) { if (task.Exception == null) matchClassifications.Add(task.Result); else { Log.Error("Unexpected exception", task.Exception); } } }) Link To Source File
somerset Spider.cs Task.Factory.ContinueWhenAll(taskQueue.ToArray(), completedTasks => { foreach (Task> task in completedTasks) { if (task.Exception == null) classifications.AddRange(task.Result); else { Log.Error("Unexpected exception", task.Exception); } } }) Link To Source File
somerset Spider.cs Task.Factory.ContinueWhenAll(taskQueue.ToArray(), completedTasks => { foreach (Task task in completedTasks) { if (task.Exception == null) matchClassifications.Add(task.Result); else { Log.Error("Unexpected exception", task.Exception); } } }) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(tasks, antecdent => { // }, TaskContinuationOptions.AttachedToParent) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(tasks, antecdent => { // }, TaskContinuationOptions.AttachedToParent) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(remoteTasks, antecedents => { }) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(remoteTasks, antecedents => { }) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(remoteTasks, antecedents => { }) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(remoteTasks, antecedents => { }) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(remoteTasks, antecedents => { }) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(remoteTasks, antecedents => { var length0 = packages.Max(each => Math.Max( Math.Max(each.Name.Length, each.Architecture.Length), each.PublisherName.Length)) + 1; var length1 = packages.Max(each => Math.Max( Math.Max( each.Version.Length,each.AuthorVersion.Length),each.PublisherUrl.Length) )+1; foreach (var package in packages) { var date = DateTime.FromFileTime(long.Parse(package.PublishDate)); Console.WriteLine("-----------------------------------------------------------"); Console.WriteLine("Package: {0}", package.DisplayName); Console.WriteLine(" Name: {{0,-{0}}} Architecture:{{1,-{1}}} ".format(length0, length1), package.Name, package.Architecture); Console.WriteLine(" Version: {{0,-{0}}} Author Version:{{1,-{1}}} ".format(length0, length1), package.Version, package.AuthorVersion); Console.WriteLine(" Published:{0}", date.ToShortDateString()); Console.WriteLine(" Local Path:{0}", package.LocalPackagePath); Console.WriteLine(" Publisher: {{0,-{0}}} Location:{{1,-{1}}} ".format(length0, length1), package.PublisherName, package.PublisherUrl); Console.WriteLine(" Installed: {0,-6} Blocked:{1,-6} Required:{2,-6} Active:{3,-6}", package.IsInstalled, package.IsBlocked, package.IsRequired, package.IsActive); Console.WriteLine(" Summary: {0}", package.Summary); Console.WriteLine(" Description: {0}", package.Description); Console.WriteLine(" Copyright: {0}", package.Copyright); Console.WriteLine(" License: {0}", package.License); Console.WriteLine(" License URL: {0}", package.LicenseUrl); if (!package.Tags.IsNullOrEmpty()) { Console.WriteLine(" Tags: {0}", package.Tags.Aggregate((current, each) => current + "," + each)); } if (package.RemoteLocations.Any()) { Console.WriteLine(" Remote Locations:"); foreach (var location in package.RemoteLocations) { Console.WriteLine(" {0}", location); } } if (package.Dependencies.Any()) { Console.WriteLine(" Package Dependencies:"); foreach (var dep in package.Dependencies) { Console.WriteLine(" {0}", dep); } } /* SupercedentPackages SatisfiedBy; */ } Console.WriteLine("-----------------------------------------------------------"); }, TaskContinuationOptions.AttachedToParent) Link To Source File
coapp CoAppMain.cs Task.Factory.ContinueWhenAll(anyUpgrades.Union(policyUpgrades).ToArray(), antecedent => { _autoUpgrade = true; Install(upgrades); }, TaskContinuationOptions.AttachedToParent) Link To Source File
devtools SimpleSignerMain.cs Task.Factory.ContinueWhenAll(tasks.ToArray(), (antecedent) => Verbose("Completed loading files.")) Link To Source File
devtools SimpleSignerMain.cs // wait for all the work to be done. Task.Factory.ContinueWhenAll(tasks.ToArray(), (antecedent) => { Verbose("Completed Signing Files."); }) Link To Source File
Dominion Simulation.cs Task.Factory .ContinueWhenAll(tasks, WriteResults) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, Tasklet.CurrentCancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, cancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, Tasklet.CurrentCancellationToken, continuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, cancellationToken, continuationOptions, scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, Tasklet.CurrentCancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, cancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, Tasklet.CurrentCancellationToken, continuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationAction, cancellationToken, continuationOptions, scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, Tasklet.CurrentCancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, cancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, Tasklet.CurrentCancellationToken, continuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, cancellationToken, continuationOptions, scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, Tasklet.CurrentCancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, cancellationToken, ContinuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, Tasklet.CurrentCancellationToken, continuationOptions, Scheduler, new[] { messageHandlers }) Link To Source File
coapp CoTaskFactory.cs ContinueWhenAll(Tasks, continuationFunction, cancellationToken, continuationOptions, scheduler, new[] { messageHandlers }) Link To Source File
Rummage MainWindow.xaml.cs Task.Factory.ContinueWhenAll(tasks.ToArray(), result => { this.Dispatcher.BeginInvoke(new Action(() => searchComplete()) , null); }) Link To Source File
Rummage SearchFilesystem.cs Task.Factory.ContinueWhenAll(tasks.ToArray(), result => { allTasksCompleted = true; }) Link To Source File