Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ChunkNodeDebugView.cs
1
using
System
;
2
using
System.Diagnostics;
3
4
namespace
Waher.Runtime.Collections
5
{
10
internal
class
ChunkNodeDebugView<T>
11
{
12
private
readonly ChunkNode<T> node;
13
18
public
ChunkNodeDebugView(ChunkNode<T> Node)
19
{
20
this.node = Node;
21
}
22
26
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
27
public
T[] Items
28
{
29
get
30
{
31
int
c = this.node.Pos - this.node.Start;
32
if
(c > 200)
33
c = 200;
34
35
T[] Result =
new
T[c];
36
Array.Copy(this.node.Elements,
this
.node.Start, Result, 0, c);
37
38
return
Result;
39
}
40
}
41
}
42
}
System
Definition:
Adapters.g.cs:58
Waher.Runtime.Collections
Definition:
ChunkedList.cs:9
IoTGateway
Runtime
Waher.Runtime.Collections
ChunkNodeDebugView.cs
Generated by
1.9.5