Project Name File Name Usage Source Code Link
lokad-cloud-provisioning AzureDiscovery.cs Task.Factory.ContinueWhenAll( serviceNames.Select(serviceName => DoDiscoverDeployment(client, serviceName, cancellationToken)).ToArray(), tasks => { // TODO (ruegg, 2011-05-27): Check task fault state and deal with it try { tcs.TrySetResult(tasks.SelectMany(t => t.Result).ToArray()); } catch (Exception e) { tcs.TrySetException(e); } }, cancellationToken) Link To Source File
lokad-cloud-provisioning AzureDiscovery.cs Task.Factory.ContinueWhenAll( serviceNames.Select(serviceName => DoDiscoverHostedService(client, serviceName, cancellationToken)).ToArray(), tasks => { // TODO (ruegg, 2011-05-27): Check task fault state and deal with it try { tcs.TrySetResult(tasks.Select(t => t.Result).ToArray()); } catch (Exception e) { tcs.TrySetException(e); } }, cancellationToken) Link To Source File