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;
2using System.Collections.Generic;
5
7{
14 public delegate IElement Encapsulation(ICollection<IElement> Elements, ScriptNode Node);
15
19 public interface IElement
20 {
25 {
26 get;
27 }
28
33 {
34 get;
35 }
36
41 {
42 get;
43 }
44
48 ICollection<IElement> ChildElements
49 {
50 get;
51 }
52
59 IElement Encapsulate(ICollection<IElement> Elements, ScriptNode Node);
60
67 bool TryConvertTo(Type DesiredType, out object Value);
68 }
69}
Base class for all nodes in a parsed script tree.
Definition: ScriptNode.cs:69
Basic interface for all types of elements.
Definition: IElement.cs:20
bool TryConvertTo(Type DesiredType, out object Value)
Converts the value to a .NET type.
object AssociatedObjectValue
Associated object value.
Definition: IElement.cs:33
ICollection< IElement > ChildElements
An enumeration of child elements. If the element is a scalar, this property will return null.
Definition: IElement.cs:49
IElement Encapsulate(ICollection< 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:41
Basic interface for all types of sets.
Definition: ISet.cs:10
delegate IElement Encapsulation(ICollection< IElement > Elements, ScriptNode Node)
Delegate for encapsulation methods.