File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Data/DataFrame/IO/DataFrame
Microsoft.VisualBasic.Core/src/Extensions/Collection/Linq Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ Namespace IO
205205 .SeqIterator _
206206 .ToDictionary( Function (i) i.value,
207207 Function (i)
208+ ' 0-based ordinal offset
208209 Return i.i
209210 End Function )
210211 End Function
Original file line number Diff line number Diff line change @@ -122,11 +122,21 @@ Namespace Linq
122122 Return $"[{i}] {Me.value.GetJson(False)}"
123123 End Function
124124
125+ ''' <summary>
126+ ''' get value from the indexed object
127+ ''' </summary>
128+ ''' <param name="x"></param>
129+ ''' <returns></returns>
125130 <MethodImpl(MethodImplOptions.AggressiveInlining)>
126131 Public Shared Narrowing Operator CType (x As SeqValue( Of T)) As T
127132 Return x.value
128133 End Operator
129134
135+ ''' <summary>
136+ ''' get ordinal index offset from the given indexed object.
137+ ''' </summary>
138+ ''' <param name="x"></param>
139+ ''' <returns></returns>
130140 <MethodImpl(MethodImplOptions.AggressiveInlining)>
131141 Public Shared Narrowing Operator CType (x As SeqValue( Of T)) As Integer
132142 Return x.i
You can’t perform that action at this time.
0 commit comments