You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/MemoryPools/Collections/Linq/AppendPrepend.cs

11 lines
460 B

namespace MemoryPools.Collections.Linq
{
public static partial class PoolingEnumerable
{
public static IPoolingEnumerable<T> Prepend<T>(this IPoolingEnumerable<T> source, T element) =>
Pool<PrependExprEnumerable<T>>.Get().Init(source, element);
public static IPoolingEnumerable<T> Append<T>(this IPoolingEnumerable<T> source, T element) =>
Pool<AppendExprEnumerable<T>>.Get().Init(source, element);
}
}

Powered by TurnKey Linux.