Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LinkedListNode.cs
Go to the documentation of this file.
1
namespace
System.Collections.Generic
;
2
3
public
sealed
class
LinkedListNode
<T>
4
{
5
internal
LinkedList<T>
list
;
6
7
internal
LinkedListNode<T>
next
;
8
9
internal
LinkedListNode<T>
prev
;
10
11
internal
T
item
;
12
13
public
LinkedList<T>
?
List
=>
list
;
14
15
public
LinkedListNode<T>
?
Next
16
{
17
get
18
{
19
if
(
next
!=
null
&&
next
!=
list
.head)
20
{
21
return
next
;
22
}
23
return
null
;
24
}
25
}
26
27
public
LinkedListNode<T>
?
Previous
28
{
29
get
30
{
31
if
(
prev
!=
null
&&
this
!=
list
.head)
32
{
33
return
prev
;
34
}
35
return
null
;
36
}
37
}
38
39
public
T
Value
40
{
41
get
42
{
43
return
item
;
44
}
45
set
46
{
47
item
=
value
;
48
}
49
}
50
51
public
ref
T
ValueRef
=>
ref
item
;
52
53
public
LinkedListNode
(T
value
)
54
{
55
item
=
value
;
56
}
57
58
internal
LinkedListNode
(
LinkedList<T>
list
, T
value
)
59
{
60
this.list =
list
;
61
item
=
value
;
62
}
63
64
internal
void
Invalidate
()
65
{
66
list
=
null
;
67
next
=
null
;
68
prev
=
null
;
69
}
70
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Collections.Generic.LinkedListNode.Invalidate
void Invalidate()
Definition
LinkedListNode.cs:64
System.Collections.Generic.LinkedListNode.list
LinkedList< T > list
Definition
LinkedListNode.cs:5
System.Collections.Generic.LinkedListNode.prev
LinkedListNode< T > prev
Definition
LinkedListNode.cs:9
System.Collections.Generic.LinkedListNode.Previous
LinkedListNode< T >? Previous
Definition
LinkedListNode.cs:28
System.Collections.Generic.LinkedListNode.Next
LinkedListNode< T >? Next
Definition
LinkedListNode.cs:16
System.Collections.Generic.LinkedListNode.next
LinkedListNode< T > next
Definition
LinkedListNode.cs:7
System.Collections.Generic.LinkedListNode.Value
T Value
Definition
LinkedListNode.cs:40
System.Collections.Generic.LinkedListNode.ValueRef
ref T ValueRef
Definition
LinkedListNode.cs:51
System.Collections.Generic.LinkedListNode.item
T item
Definition
LinkedListNode.cs:11
System.Collections.Generic.LinkedListNode.LinkedListNode
LinkedListNode(LinkedList< T > list, T value)
Definition
LinkedListNode.cs:58
System.Collections.Generic.LinkedListNode.LinkedListNode
LinkedListNode(T value)
Definition
LinkedListNode.cs:53
System.Collections.Generic.LinkedListNode
Definition
LinkedListNode.cs:4
System.Collections.Generic.List
Definition
List.cs:12
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.ExceptionArgument.value
@ value
source
System.Collections
System.Collections.Generic
LinkedListNode.cs
Generated by
1.10.0