Returns an IndexedEnumerable from any collection implementing IEnumerable<T>

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public static IndexedEnumerable<T> Create<T>(
	IEnumerable<T> source
)
Visual Basic
Public Shared Function Create(Of T) ( 
	source As IEnumerable(Of T)
) As IndexedEnumerable(Of T)

Parameters

source
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T>)>)>
Source enumerable

Type Parameters

T
Type of enumerable

Return Value

Type: IndexedEnumerable<(Of <(<'T>)>)>
A new IndexedEnumerable<T>.

See Also