mirror of https://github.com/ogoun/Zero.git
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.
11 lines
460 B
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);
|
|
}
|
|
} |