Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Script.Variable Class Reference

Contains information about a variable. More...

Public Member Functions

 Variable (string Name, IElement Value)
 Contains information about a variable. More...
 
 Variable (string Name, double Value)
 Contains information about a variable. More...
 
 Variable (string Name, string Value)
 Contains information about a variable. More...
 
 Variable (string Name, bool Value)
 Contains information about a variable. More...
 
 Variable (string Name, object Value)
 Contains information about a variable. More...
 
void SetValue (object Value)
 Sets the value of the variable. More...
 
override string ToString ()
 

Properties

string Name [get]
 Name of variable. More...
 
IElement ValueElement [get]
 Value element of variable. More...
 
object ValueObject [get]
 Object Value of variable. More...
 

Detailed Description

Contains information about a variable.

Definition at line 9 of file Variable.cs.

Constructor & Destructor Documentation

◆ Variable() [1/5]

Waher.Script.Variable.Variable ( string  Name,
IElement  Value 
)

Contains information about a variable.

Parameters
NameName of variable.
ValueValue of variable.

Definition at line 19 of file Variable.cs.

◆ Variable() [2/5]

Waher.Script.Variable.Variable ( string  Name,
double  Value 
)

Contains information about a variable.

Parameters
NameName of variable.
ValueValue of variable.

Definition at line 30 of file Variable.cs.

◆ Variable() [3/5]

Waher.Script.Variable.Variable ( string  Name,
string  Value 
)

Contains information about a variable.

Parameters
NameName of variable.
ValueValue of variable.

Definition at line 40 of file Variable.cs.

◆ Variable() [4/5]

Waher.Script.Variable.Variable ( string  Name,
bool  Value 
)

Contains information about a variable.

Parameters
NameName of variable.
ValueValue of variable.

Definition at line 50 of file Variable.cs.

◆ Variable() [5/5]

Waher.Script.Variable.Variable ( string  Name,
object  Value 
)

Contains information about a variable.

Parameters
NameName of variable.
ValueValue of variable.

Definition at line 60 of file Variable.cs.

Member Function Documentation

◆ SetValue()

void Waher.Script.Variable.SetValue ( object  Value)

Sets the value of the variable.

Parameters
ValueValue of variable.

Definition at line 70 of file Variable.cs.

◆ ToString()

override string Waher.Script.Variable.ToString ( )

Definition at line 91 of file Variable.cs.

Property Documentation

◆ Name

string Waher.Script.Variable.Name
get

Name of variable.

Definition at line 78 of file Variable.cs.

◆ ValueElement

IElement Waher.Script.Variable.ValueElement
get

Value element of variable.

Definition at line 83 of file Variable.cs.

◆ ValueObject

object Waher.Script.Variable.ValueObject
get

Object Value of variable.

Definition at line 88 of file Variable.cs.


The documentation for this class was generated from the following file: