Table of Contents

Class StructList<T>

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

An implementation of IList for grid points that is safe to use with the AOT compiler.

public sealed class StructList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

T
Inheritance
StructList<T>
Implements
Inherited Members
Extension Methods

Constructors

StructList()
StructList(IEnumerable<T>)
StructList(int)

Properties

Count
IsReadOnly
this[int]

Methods

Add(T)
Clear()
Contains(T)
CopyTo(T[], int)
GetEnumerator()
IndexOf(T)
Insert(int, T)
LastIndexOf(T)
Remove(T)
RemoveAll(Predicate<T>)
RemoveAllBut(Predicate<T>)

Removes all the elements in the list that does not satisfy the predicate.

RemoveAt(int)