Table of Contents

Class ScopedList<T>

Namespace
Core.Collections.Scoped
Assembly
Core.dll
public sealed class ScopedList<T> : List<T>, IPoolable

Type Parameters

T
Inheritance
object
List<T>
ScopedList<T>
Implements
Extension Methods

Methods

Dispose()

public void Dispose()

Get()

public static ScopedList<T> Get()

Returns

ScopedList<T>

Get(Queue<T>)

public static ScopedList<T> Get(Queue<T> initialElements)

Parameters

initialElements Queue<T>

Returns

ScopedList<T>

Get(HashSet<T>)

public static ScopedList<T> Get(HashSet<T> initialElements)

Parameters

initialElements HashSet<T>

Returns

ScopedList<T>

Get(IEnumerable<T>)

public static ScopedList<T> Get(IEnumerable<T> initialElements)

Parameters

initialElements IEnumerable<T>

Returns

ScopedList<T>

Get(List<T>)

public static ScopedList<T> Get(List<T> initialElements)

Parameters

initialElements List<T>

Returns

ScopedList<T>

Get(Stack<T>)

public static ScopedList<T> Get(Stack<T> initialElements)

Parameters

initialElements Stack<T>

Returns

ScopedList<T>

Get(int)

public static ScopedList<T> Get(int capacity)

Parameters

capacity int

Returns

ScopedList<T>

Get(T[])

public static ScopedList<T> Get(T[] initialElements)

Parameters

initialElements T[]

Returns

ScopedList<T>

Return(ScopedList<T>)

public static void Return(ScopedList<T> instance)

Parameters

instance ScopedList<T>