2 instantiations of Node
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\Collection.vb (2)
47
Dim newNode As Node = New
Node
(Key, Item)
672
Dim newNode As New
Node
(Nothing, value)
49 references to Node
Microsoft.VisualBasic.Core (49)
Microsoft\VisualBasic\Collection.vb (46)
19
Private m_KeyedNodesHash As Generic.Dictionary(Of String,
Node
) 'Hashtable mapping key (string) -> Node, contains only items added to the collection with a key
47
Dim newNode As
Node
= New Node(Key, Item)
74
Dim BeforeNode As
Node
= Nothing
89
Dim AfterNode As
Node
= Nothing
154
Dim node As
Node
= Nothing
177
Dim node As
Node
= m_ItemsList.RemoveAt(Index - 1) '0 based
196
Dim node As
Node
= m_ItemsList.Item(Index - 1)
209
Dim node As
Node
= Nothing
281
Friend Function GetFirstListNode() As
Node
294
Friend m_Next As
Node
'Doubly-linked list pointer to the next node
295
Friend m_Prev As
Node
'Doubly-linked list pointer to the previous node
323
Dim newNode As
Node
= m_InstanceBeingWatched.InternalItemsList.Item(Index - 1)
340
m_KeyedNodesHash = New Generic.Dictionary(Of String,
Node
)(StartingHashCapacity, StringComparer.Create(CultureInfo, ignoreCase:=True))
342
m_KeyedNodesHash = New Generic.Dictionary(Of String,
Node
)(StringComparer.Create(CultureInfo, ignoreCase:=True))
350
Private m_StartOfList As
Node
351
Private m_EndOfList As
Node
358
Friend Sub Add(ByVal Node As
Node
)
371
Dim currentNode As
Node
= m_StartOfList
384
Friend Sub RemoveNode(ByVal NodeToBeDeleted As
Node
)
391
Friend Function RemoveAt(ByVal Index As Integer) As
Node
392
Dim currentNode As
Node
= m_StartOfList
394
Dim prevNode As
Node
= Nothing
421
Friend ReadOnly Property Item(ByVal Index As Integer) As
Node
423
Dim node As
Node
= GetNodeAtIndex(Index)
431
Friend Sub Insert(ByVal Index As Integer, ByVal Node As
Node
)
432
Dim prevNode As
Node
= Nothing
441
Dim nodeAtIndex As
Node
= GetNodeAtIndex(Index, prevNode) 'Note: PrevNode passed ByRef
447
Friend Sub InsertBefore(ByVal Node As
Node
, ByVal NodeToInsertBefore As
Node
)
455
Friend Sub InsertAfter(ByVal Node As
Node
, ByVal NodeToInsertAfter As
Node
)
461
Friend Function GetFirstListNode() As
Node
477
Private Function GetNodeAtIndex(ByVal Index As Integer, Optional ByRef PrevNode As
Node
= Nothing) As
Node
478
Dim currentNode As
Node
= m_StartOfList
492
Private Sub Insert(ByVal Node As
Node
, ByVal PrevNode As
Node
, ByVal CurrentNode As
Node
)
513
Private Sub DeleteNode(ByVal NodeToBeDeleted As
Node
, ByVal PrevNode As
Node
)
562
Private Sub AdjustEnumeratorsOnNodeInserted(ByVal NewNode As
Node
)
566
Private Sub AdjustEnumeratorsOnNodeRemoved(ByVal RemovedNode As
Node
)
570
Private Sub AdjustEnumeratorsHelper(ByVal NewOrRemovedNode As
Node
, ByVal Type As ForEachEnum.AdjustIndexType)
680
Dim node As
Node
= m_ItemsList.RemoveAt(index) '0 based
707
Dim node As
Node
714
Dim node As
Node
= m_ItemsList.Item(index)
Microsoft\VisualBasic\Helpers\ForEachEnum.vb (3)
29
Private mCurrent As Collection.
Node
33
Private mNext As Collection.
Node
116
Public Sub Adjust(ByVal Node As Collection.
Node
, ByVal Type As AdjustIndexType)