Returns an IndexedEnumerable from any collection implementing IEnumerable<T>
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public static IndexedEnumerable<T> AsIndexedEnumerable<T>( this IEnumerable<T> source ) |
Visual Basic |
---|
<ExtensionAttribute> Public Shared Function AsIndexedEnumerable(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>.