Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
MetaDataValue.cs
1
using
Waher.Persistence.Attributes
;
2
3
namespace
Waher.Things.Virtual
4
{
8
[TypeName(
TypeNameSerialization
.None)]
9
public
class
MetaDataValue
10
{
11
private
string
name =
string
.Empty;
12
private
object
value =
null
;
13
17
public
MetaDataValue
()
18
{
19
}
20
24
[DefaultValueStringEmpty]
25
public
string
Name
26
{
27
get
=> this.name;
28
set
=> this.name = value;
29
}
30
34
[DefaultValueNull]
35
public
object
Value
36
{
37
get
=> this.value;
38
set
=> this.value = value;
39
}
40
42
public
override
string
ToString
()
43
{
44
return
this.name +
"="
+ this.value?.ToString();
45
}
46
}
47
}
Waher.Things.Virtual.MetaDataValue
Class representing a meta-data value.
Definition:
MetaDataValue.cs:10
Waher.Things.Virtual.MetaDataValue.Name
string Name
Tag name.
Definition:
MetaDataValue.cs:26
Waher.Things.Virtual.MetaDataValue.ToString
override string ToString()
Definition:
MetaDataValue.cs:42
Waher.Things.Virtual.MetaDataValue.MetaDataValue
MetaDataValue()
Class representing a persisted tag.
Definition:
MetaDataValue.cs:17
Waher.Things.Virtual.MetaDataValue.Value
object Value
Tag value.
Definition:
MetaDataValue.cs:36
Waher.Persistence.Attributes
Definition:
ArchivingTimeAttribute.cs:4
Waher.Persistence.Attributes.TypeNameSerialization
TypeNameSerialization
How the type name should be serialized.
Definition:
TypeNameAttribute.cs:9
Waher.Things.Virtual
Definition:
AddMetaDataBoolean.cs:7
IoTGateway
Things
Waher.Things.Virtual
MetaDataValue.cs
Generated by
1.9.5