![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Contains a reference to a thing More...
Public Member Functions | |
| ThingReference () | |
| Contains a reference to a thing More... | |
| ThingReference (string NodeId) | |
| Contains a reference to a thing More... | |
| ThingReference (string NodeId, string SourceId) | |
| Contains a reference to a thing More... | |
| ThingReference (string NodeId, string SourceId, string Partition) | |
| Contains a reference to a thing More... | |
| ThingReference (IThingReference Reference) | |
| Contains a reference to a thing More... | |
| bool | SameThing (IThingReference Ref) |
| Checks if the thing reference is equal to other thing reference. More... | |
| override bool | Equals (object obj) |
| Determines whether the specified object is equal to the current object. More... | |
| override int | GetHashCode () |
| Serves as the default hash function. More... | |
| override string | ToString () |
Properties | |
| string | ObjectId [get, set] |
| Persisted object ID. Is null if object not persisted. More... | |
| string | NodeId [get, set] |
| ID of node. More... | |
| string | SourceId [get, set] |
| Optional ID of source containing node. More... | |
| string | Partition [get, set] |
| Optional partition in which the Node ID is unique. More... | |
| bool | IsEmpty [get] |
| If the reference is an empty reference. More... | |
| string | Key [get] |
| Key for thing reference: [NodeId[, SourceId[, Partition]]] More... | |
| static ThingReference | Empty [get] |
| Empty thing reference. Can be used by sensors that are not part of a concentrator during readout. More... | |
Contains a reference to a thing
Definition at line 12 of file ThingReference.cs.
| Waher.Things.ThingReference.ThingReference | ( | ) |
Contains a reference to a thing
Definition at line 24 of file ThingReference.cs.
| Waher.Things.ThingReference.ThingReference | ( | string | NodeId | ) |
Contains a reference to a thing
| NodeId | ID of node. |
Definition at line 33 of file ThingReference.cs.
| Waher.Things.ThingReference.ThingReference | ( | string | NodeId, |
| string | SourceId | ||
| ) |
Contains a reference to a thing
| NodeId | ID of node. |
| SourceId | Optional ID of source containing node. |
Definition at line 43 of file ThingReference.cs.
| Waher.Things.ThingReference.ThingReference | ( | string | NodeId, |
| string | SourceId, | ||
| string | Partition | ||
| ) |
Contains a reference to a thing
| NodeId | ID of node. |
| SourceId | Optional ID of source containing node. |
| Partition | Optional partition in which the Node ID is unique. |
Definition at line 54 of file ThingReference.cs.
| Waher.Things.ThingReference.ThingReference | ( | IThingReference | Reference | ) |
Contains a reference to a thing
| Reference | Thing reference interface. |
Definition at line 65 of file ThingReference.cs.
| override bool Waher.Things.ThingReference.Equals | ( | object | obj | ) |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
Definition at line 165 of file ThingReference.cs.
| override int Waher.Things.ThingReference.GetHashCode | ( | ) |
Serves as the default hash function.
Definition at line 177 of file ThingReference.cs.
| bool Waher.Things.ThingReference.SameThing | ( | IThingReference | Ref | ) |
Checks if the thing reference is equal to other thing reference.
| Ref | Second thing reference. |
Definition at line 155 of file ThingReference.cs.
| override string Waher.Things.ThingReference.ToString | ( | ) |
Definition at line 190 of file ThingReference.cs.
|
staticget |
Empty thing reference. Can be used by sensors that are not part of a concentrator during readout.
Definition at line 187 of file ThingReference.cs.
|
get |
If the reference is an empty reference.
Definition at line 115 of file ThingReference.cs.
|
get |
Key for thing reference: [NodeId[, SourceId[, Partition]]]
Definition at line 123 of file ThingReference.cs.
|
getset |
ID of node.
Implements Waher.Things.IThingReference.
Definition at line 86 of file ThingReference.cs.
|
getset |
Persisted object ID. Is null if object not persisted.
Definition at line 76 of file ThingReference.cs.
|
getset |
Optional partition in which the Node ID is unique.
Implements Waher.Things.IThingReference.
Definition at line 106 of file ThingReference.cs.
|
getset |
Optional ID of source containing node.
Implements Waher.Things.IThingReference.
Definition at line 96 of file ThingReference.cs.