Improve performance of Create Firewall Rule code (#489)

* Multi-thread server lookup to increase perf for multiple subscriptions

* Use parallel execution for listsubscriptions
- Also refactored parallel execution code to be a bit more generic
This commit is contained in:
Kevin Cunnane
2017-10-11 11:14:47 -07:00
committed by GitHub
parent 4945aead96
commit eab9339c14
5 changed files with 104 additions and 48 deletions

View File

@@ -8,7 +8,7 @@ using System.Collections.Generic;
namespace Microsoft.SqlTools.Extensibility
{
internal static class IEnumerableExt
public static class IEnumerableExt
{
public static IEnumerable<T> SingleItemAsEnumerable<T>(this T item)
{