You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EntityFrameworkCore.Jet/test/EFCore.Jet.FunctionalTests/TestUtilities/CollectionExtensions.cs

20 lines
510 B
C#

// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace EntityFrameworkCore.Jet.FunctionalTests.TestUtilities
{
public static class CollectionExtensions
{
public static Queue<T> Enqueue<T>(this Queue<T> queue, IEnumerable<T> items)
{
foreach (var item in items)
{
queue.Enqueue(item);
}
return queue;
}
}
}