Files
sqltoolsservice/src/Microsoft.SqlTools.Hosting/Extensibility/IEnumerableExt.cs
Kevin Cunnane eab9339c14 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
2017-10-11 11:14:47 -07:00

19 lines
422 B
C#

//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
namespace Microsoft.SqlTools.Extensibility
{
public static class IEnumerableExt
{
public static IEnumerable<T> SingleItemAsEnumerable<T>(this T item)
{
yield return item;
}
}
}