mscorlib(4.0.0.0) API with additions
LinkedListNode.cs
2 
4 {
7  [ComVisible(false)]
8  [global::__DynamicallyInvokable]
9  public sealed class LinkedListNode<T>
10  {
11  internal LinkedList<T> list;
12 
13  internal LinkedListNode<T> next;
14 
15  internal LinkedListNode<T> prev;
16 
17  internal T item;
18 
21  [global::__DynamicallyInvokable]
22  public LinkedList<T> List
23  {
24  [global::__DynamicallyInvokable]
25  get
26  {
27  return list;
28  }
29  }
30 
33  [global::__DynamicallyInvokable]
34  public LinkedListNode<T> Next
35  {
36  [global::__DynamicallyInvokable]
37  get
38  {
39  if (next != null && next != list.head)
40  {
41  return next;
42  }
43  return null;
44  }
45  }
46 
49  [global::__DynamicallyInvokable]
51  {
52  [global::__DynamicallyInvokable]
53  get
54  {
55  if (prev != null && this != list.head)
56  {
57  return prev;
58  }
59  return null;
60  }
61  }
62 
65  [global::__DynamicallyInvokable]
66  public T Value
67  {
68  [global::__DynamicallyInvokable]
69  get
70  {
71  return item;
72  }
73  [global::__DynamicallyInvokable]
74  set
75  {
76  item = value;
77  }
78  }
79 
82  [global::__DynamicallyInvokable]
83  public LinkedListNode(T value)
84  {
85  item = value;
86  }
87 
88  internal LinkedListNode(LinkedList<T> list, T value)
89  {
90  this.list = list;
91  item = value;
92  }
93 
94  internal void Invalidate()
95  {
96  list = null;
97  next = null;
98  prev = null;
99  }
100  }
101 }
LinkedListNode(T value)
Initializes a new instance of the T:System.Collections.Generic.LinkedListNode`1 class,...
Definition: __Canon.cs:3
LinkedListNode< T > Next
Gets the next node in the T:System.Collections.Generic.LinkedList`1.
Represents a node in a T:System.Collections.Generic.LinkedList`1. This class cannot be inherited.
T Value
Gets the value contained in the node.
Represents a doubly linked list.
Definition: LinkedList.cs:16
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search...
Definition: List.cs:14
LinkedListNode< T > Previous
Gets the previous node in the T:System.Collections.Generic.LinkedList`1.