Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IElement.cs
1using System;
6
8{
15 public delegate IElement Encapsulation(ICollection<IElement> Elements, ScriptNode Node);
16
20 public interface IElement
21 {
26 {
27 get;
28 }
29
34 {
35 get;
36 }
37
42 {
43 get;
44 }
45
49 ICollection<IElement> ChildElements
50 {
51 get;
52 }
53
61
68 IElement Encapsulate(ICollection<IElement> Elements, ScriptNode Node);
69
76 bool TryConvertTo(Type DesiredType, out object Value);
77 }
78}
A chunked list is a linked list of chunks of objects of type T .
Definition: ChunkedList.cs:54
Base class for all nodes in a parsed script tree.
Definition: ScriptNode.cs:69
Basic interface for all types of elements.
Definition: IElement.cs:21
bool TryConvertTo(Type DesiredType, out object Value)
Converts the value to a .NET type.
object AssociatedObjectValue
Associated object value.
Definition: IElement.cs:34
ICollection< IElement > ChildElements
An enumeration of child elements. If the element is a scalar, this property will return null.
Definition: IElement.cs:50
IElement Encapsulate(ICollection< IElement > Elements, ScriptNode Node)
Encapsulates a set of elements into a similar structure as that provided by the current element.
IElement Encapsulate(ChunkedList< IElement > Elements, ScriptNode Node)
Encapsulates a set of elements into a similar structure as that provided by the current element.
bool IsScalar
If the element represents a scalar value.
Definition: IElement.cs:42
Basic interface for all types of sets.
Definition: ISet.cs:10
delegate IElement Encapsulation(ICollection< IElement > Elements, ScriptNode Node)
Delegate for encapsulation methods.