Click or drag to resize

PointListTPoint Class

An implementation of IList for grid points that is safe to use with the AOT compiler.
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsPointListTPoint

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 6, 0)]
public class PointList<TPoint> : IList<TPoint>, 
	IEnumerable, ICollection<TPoint>, IEnumerable<TPoint>

Type Parameters

TPoint

The PointListTPoint type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Public propertyIsReadOnly
Public propertyItem
Top
Methods
  NameDescription
Public methodAdd
Public methodClear
Public methodContains
Public methodCopyTo
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf
Public methodInsert
Public methodLastIndexOf
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
Public methodRemoveAll
Public methodRemoveAllBut
Removes all the elements in the list that does not satisfy the predicate.
Public methodRemoveAt
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeTPoint
Add all elements of other to the given source.
(Defined by CollectionExtensions.)
Public Extension MethodBinarySearchTPoint, TElement(TElement, FuncTPoint, TElement)Overloaded.
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
(Defined by CollectionExtensions.)
Public Extension MethodBinarySearchTPoint, TElement(TElement, FuncTPoint, TElement, IComparerTElement)Overloaded.
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
(Defined by CollectionExtensions.)
Public Extension MethodBinarySearchTPoint, TElement(TElement, FuncTPoint, TElement, Int32, Int32)Overloaded.
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
(Defined by CollectionExtensions.)
Public Extension MethodBinarySearchTPoint, TElement(TElement, FuncTPoint, TElement, Int32, Int32, IComparerTElement)Overloaded.
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
(Defined by CollectionExtensions.)
Public Extension MethodButFirstTPoint
Returns an enumerable of all elements of the given list but the first, keeping them in order.
(Defined by CollectionExtensions.)
Public Extension MethodButLastTPoint
Returns an enumerable of all elements in the given list but the last, keeping them in order.
(Defined by CollectionExtensions.)
Public Extension MethodCombinationsTPoint
Generates all combinations of m elements selected from the list.
(Defined by Combinatorial.)
Public Extension MethodFilterByTypeTPoint, TFilter
Returns all elements of the source which are of FilterType.
(Defined by CollectionExtensions.)
Public Extension MethodIsEmptyTPoint
Returns whether this source is empty.
(Defined by CollectionExtensions.)
Public Extension MethodListToStringTPoint
Returns a pretty string representation of the given list. The resulting string looks something like [a, b, c].
(Defined by CollectionExtensions.)
Public Extension MethodMaxByTPoint(FuncTPoint, IComparable)Overloaded.
Finds the maximum element in the source as scored by the given function.
(Defined by CollectionExtensions.)
Public Extension MethodMaxByTPoint, TKey(FuncTPoint, TKey)Overloaded.
Finds the minimum element in the source as scored by its projection.
(Defined by CollectionExtensions.)
Public Extension MethodMaxByTPoint, TKey(FuncTPoint, TKey, IComparerTKey)Overloaded.
Finds the minimum element in the source as scored by the given function applied to a projection on the elements.
(Defined by CollectionExtensions.)
Public Extension MethodMinByTPoint, TKey(FuncTPoint, TKey)Overloaded.
Finds the minimum element in the source as scored by its projection.
(Defined by CollectionExtensions.)
Public Extension MethodMinByTPoint, TKey(FuncTPoint, TKey, IComparerTKey)Overloaded.
Finds the minimum element in the source as scored by the given function applied to a projection on the elements.
(Defined by CollectionExtensions.)
Public Extension MethodPartitionsTPoint
Returns a list of all the partitions of a list.
(Defined by Combinatorial.)
Public Extension MethodPermutationsTPoint
Generates all permutations of the list of elements.
(Defined by Combinatorial.)
Public Extension MethodPowerSetTPoint
Returns the power set of the input, that is, the set of all subsets of the input.
(Defined by Combinatorial.)
Public Extension MethodRandomItemTPointOverloaded.
Returns a random element from a source.
(Defined by CollectionExtensions.)
Public Extension MethodRandomItemTPoint(IRandom)Overloaded.
Returns a random element from a source.
(Defined by CollectionExtensions.)
Public Extension MethodRotateLeftTPoint
Returns a enumerable with elements in order, but the first element is moved to the end.
(Defined by CollectionExtensions.)
Public Extension MethodRotateRightTPoint
Returns a enumerable with elements in order, but the last element is moved to the front.
(Defined by CollectionExtensions.)
Public Extension MethodSampleRandomTPoint(Int32)Overloaded.
Returns a random sample from a source.
(Defined by CollectionExtensions.)
Public Extension MethodSampleRandomTPoint(Int32, IRandom)Overloaded.
Returns a random sample from a source.
(Defined by CollectionExtensions.)
Public Extension MethodShuffleTPointOverloaded.
Shuffles a list.
(Defined by CollectionExtensions.)
Public Extension MethodShuffleTPoint(IRandom)Overloaded.
Shuffles a list.
(Defined by CollectionExtensions.)
Public Extension MethodTakeHalfTPoint
Returns the first half of elements from a source.
(Defined by CollectionExtensions.)
Public Extension MethodTakeLastTPoint
Returns the last n elements from a source.
(Defined by CollectionExtensions.)
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Public Extension MethodToPeriodicGeneratorTPoint (Defined by GeneratorExtensions.)
Public Extension MethodToRandomElementGeneratorTPoint (Defined by GeneratorExtensions.)
Public Extension MethodTuplesTPoint (Defined by Combinatorial.)
Top
Explicit Interface Implementations
See Also