Class IEnumerableExtensions
Extension methods for IEnumerable<T>.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public static class IEnumerableExtensions
Methods
View SourceWithoutLast<T>(IEnumerable<T>)
Gets a new enumerable without the last item.
Declaration
public static IEnumerable<T> WithoutLast<T>(this IEnumerable<T> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | source | The enumerable being extended. |
Returns
Type | Description |
---|---|
IEnumerable<T> | A new enumerable without the last item. |
Type Parameters
Name | Description |
---|---|
T | The enumeration type. |