Click or drag to resize

IEnumerableExtensionsToPointListTPoint Method

This method performs the same function as ToList, but returns a PointList instead.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static PointList<TPoint> ToPointList<TPoint>(
	this IEnumerable<TPoint> list
)
where TPoint : Object, IGridPoint<TPoint>

Parameters

list
Type: System.Collections.GenericIEnumerableTPoint

Type Parameters

TPoint

Return Value

Type: PointListTPoint

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTPoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also