Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Output.OutputNode Class Referenceabstract

Base class for all output nodes. More...

Inheritance diagram for Waher.Output.OutputNode:
Waher.Output.IOutputNode Waher.Things.INode Waher.Things.IThingReference Waher.Output.Metering.NodeTypes.InternalDatabaseOutput Waher.Output.NodeTypes.Root

Public Member Functions

 OutputNode ()
 Base class for all output nodes. 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 ()
 
virtual Task LogErrorAsync (string Body)
 Logs an error message on the node. More...
 
virtual Task LogErrorAsync (string EventId, string Body)
 Logs an error message on the node. More...
 
virtual Task LogWarningAsync (string Body)
 Logs an warning message on the node. More...
 
virtual Task LogWarningAsync (string EventId, string Body)
 Logs an warning message on the node. More...
 
virtual Task LogInformationAsync (string Body)
 Logs an informational message on the node. More...
 
virtual Task LogInformationAsync (string EventId, string Body)
 Logs an informational message on the node. More...
 
virtual Task LogMessageAsync (MessageType Type, string Body)
 Logs a message on the node. More...
 
virtual async Task LogMessageAsync (MessageType Type, string EventId, string Body)
 Logs a message on the node. More...
 
virtual Task< bool > RemoveErrorAsync ()
 Removes error messages with an empty event ID from the node. More...
 
virtual Task< bool > RemoveErrorAsync (string EventId)
 Removes error messages with a given event ID from the node. More...
 
virtual Task< bool > RemoveWarningAsync ()
 Removes warning messages with an empty event ID from the node. More...
 
virtual Task< bool > RemoveWarningAsync (string EventId)
 Removes warning messages with a given event ID from the node. More...
 
virtual Task< bool > RemoveInformationAsync ()
 Removes warning messages with an empty event ID from the node. More...
 
virtual Task< bool > RemoveInformationAsync (string EventId)
 Removes an informational message on the node. More...
 
virtual Task< bool > RemoveMessageAsync (MessageType Type)
 Removes messages with empty event IDs from the node. More...
 
virtual async Task< bool > RemoveMessageAsync (MessageType Type, string EventId)
 Logs a message on the node. More...
 
abstract Task< string > GetTypeNameAsync (Language Language)
 Gets the type name of the node. More...
 
async Task< INodeGetParent ()
 Gets the parent of the node. More...
 
async Task< T > GetAncestor< T > ()
 Tries to get an ancestor node of a given type, if one exists. More...
 
virtual Task< bool > CanViewAsync (RequestOrigin Caller)
 If the node is visible to the caller. More...
 
virtual Task< bool > CanEditAsync (RequestOrigin Caller)
 If the node can be edited by the caller. More...
 
virtual Task< bool > CanAddAsync (RequestOrigin Caller)
 If the node can be added to by the caller. More...
 
virtual Task< bool > CanDestroyAsync (RequestOrigin Caller)
 If the node can be destroyed to by the caller. More...
 
virtual async Task< IEnumerable< Parameter > > GetDisplayableParametersAsync (Language Language, RequestOrigin Caller)
 Gets displayable parameters. More...
 
async Task< Parameter[]> GetDisplayableParameterAraryAsync (Language Language, RequestOrigin Caller)
 Gets displayable parameters. More...
 
virtual async Task< IEnumerable< Message > > GetMessagesAsync (RequestOrigin Caller)
 Gets messages logged on the node. More...
 
async Task< Message[]> GetMessageArrayAsync (RequestOrigin Caller)
 Gets messages logged on the node. More...
 
virtual async Task< bool > MoveUpAsync (RequestOrigin Caller)
 Tries to move the node up. More...
 
virtual async Task< bool > MoveDownAsync (RequestOrigin Caller)
 Tries to move the node down. More...
 
virtual async Task< bool > MoveUpAsync (OutputNode Child, RequestOrigin Caller)
 Tries to move the child node up. More...
 
virtual async Task< bool > MoveDownAsync (OutputNode Child, RequestOrigin Caller)
 Tries to move the child node down. More...
 
abstract Task< bool > AcceptsParentAsync (INode Parent)
 If the node accepts a presumptive parent, i.e. can be added to that parent (if that parent accepts the node as a child). More...
 
abstract Task< bool > AcceptsChildAsync (INode Child)
 If the node accepts a presumptive child, i.e. can receive as a child (if that child accepts the node as a parent). More...
 
virtual async Task AddAsync (INode Child)
 Adds a new child to the node. More...
 
virtual async Task UpdateAsync ()
 Updates the node (in persisted storage). More...
 
virtual async Task< bool > RemoveAsync (INode Child)
 Removes a child from the node. More...
 
virtual async Task DestroyAsync ()
 Destroys the node. If it is a child to a parent node, it is removed from the parent first. More...
 

Static Public Member Functions

static implicit operator ThingReference (OutputNode Node)
 Converts a OutputNode to a ThingReference object. More...
 
static async Task< string > GetUniqueNodeId (string OutputId)
 Gets a Output ID, based on OutputId that is not already available in the database. More...
 

Protected Member Functions

virtual OutputNode[] SortChildrenAfterLoadLocked (List< OutputNode > Children)
 Method that allows the node to sort its children, after they have been loaded. More...
 
virtual OutputNode[] CheckOrderLocked (List< OutputNode > Children)
 Checks the ordering of children. More...
 
virtual async Task NodeUpdated ()
 Persists changes to the node, and generates a node updated event. More...
 

Properties

Guid ObjectId [get, set]
 Object ID in persistence layer. More...
 
Guid ParentId [get, set]
 Object ID of parent node in persistence layer. More...
 
DateTime Created [get, set]
 When node was created. More...
 
DateTime Updated [get, set]
 When node was last updated. If it has not been updated, value will be DateTime.MinValue. More...
 
int SiblingOrdinal [get, set]
 Sibling ordinal, used to order siblings when ordered. More...
 
string NodeId [get, set]
 ID of node. More...
 
string SourceId [get]
 Optional ID of source containing node. More...
 
string Partition [get]
 Optional partition in which the Node ID is unique. More...
 
virtual string LocalId [get]
 If provided, an ID for the node, but unique locally between siblings. Can be null, if Local ID equal to Node ID. More...
 
virtual string LogId [get]
 If provided, an ID for the node, as it would appear or be used in system logs. Can be null, if Log ID equal to Node ID. More...
 
bool HasChildren [get]
 If the source has any child sources. More...
 
virtual bool ChildrenOrdered [get]
 If the children of the node have an intrinsic order (true), or if the order is not important (false). More...
 
virtual bool IsReadable [get]
 If the node can be read. More...
 
virtual bool IsControllable [get]
 If the node can be controlled. More...
 
virtual bool HasCommands [get]
 If the node has registered commands or not. More...
 
INode Parent [get]
 Parent Node, or null if a root node. More...
 
DateTime LastChanged [get]
 When the node was last updated. More...
 
NodeState State [get, set]
 Current overall state of the node. More...
 
Task< IEnumerable< INode > > ChildNodes [get]
 Child nodes. If no child nodes are available, null is returned. More...
 
virtual Task< IEnumerable< ICommand > > Commands [get]
 Available command objects. If no commands are available, null is returned. More...
 

Events

EventHandlerAsync OnUpdate = null
 Event raised when node has been updated. More...
 

Detailed Description

Base class for all output nodes.

Definition at line 28 of file OutputNode.cs.

Constructor & Destructor Documentation

◆ OutputNode()

Waher.Output.OutputNode.OutputNode ( )

Base class for all output nodes.

Definition at line 47 of file OutputNode.cs.

Member Function Documentation

◆ AcceptsChildAsync()

abstract Task< bool > Waher.Output.OutputNode.AcceptsChildAsync ( INode  Child)
pure virtual

If the node accepts a presumptive child, i.e. can receive as a child (if that child accepts the node as a parent).

Parameters
ChildPresumptive child node.
Returns
If the child is acceptable.

Implements Waher.Things.INode.

Implemented in Waher.Output.Metering.NodeTypes.InternalDatabaseOutput, and Waher.Output.NodeTypes.Root.

◆ AcceptsParentAsync()

abstract Task< bool > Waher.Output.OutputNode.AcceptsParentAsync ( INode  Parent)
pure virtual

If the node accepts a presumptive parent, i.e. can be added to that parent (if that parent accepts the node as a child).

Parameters
ParentPresumptive parent node.
Returns
If the parent is acceptable.

Implements Waher.Things.INode.

Implemented in Waher.Output.Metering.NodeTypes.InternalDatabaseOutput, and Waher.Output.NodeTypes.Root.

◆ AddAsync()

virtual async Task Waher.Output.OutputNode.AddAsync ( INode  Child)
virtual

Adds a new child to the node.

Parameters
ChildNew child to add.

Implements Waher.Things.INode.

Definition at line 1092 of file OutputNode.cs.

◆ CanAddAsync()

virtual Task< bool > Waher.Output.OutputNode.CanAddAsync ( RequestOrigin  Caller)
virtual

If the node can be added to by the caller.

Parameters
CallerInformation about caller.
Returns
If the node can be added to by the caller.

Implements Waher.Things.INode.

Definition at line 833 of file OutputNode.cs.

◆ CanDestroyAsync()

virtual Task< bool > Waher.Output.OutputNode.CanDestroyAsync ( RequestOrigin  Caller)
virtual

If the node can be destroyed to by the caller.

Parameters
CallerInformation about caller.
Returns
If the node can be destroyed to by the caller.

Implements Waher.Things.INode.

Reimplemented in Waher.Output.NodeTypes.Root.

Definition at line 843 of file OutputNode.cs.

◆ CanEditAsync()

virtual Task< bool > Waher.Output.OutputNode.CanEditAsync ( RequestOrigin  Caller)
virtual

If the node can be edited by the caller.

Parameters
CallerInformation about caller.
Returns
If the node can be edited by the caller.

Implements Waher.Things.INode.

Reimplemented in Waher.Output.NodeTypes.Root.

Definition at line 823 of file OutputNode.cs.

◆ CanViewAsync()

virtual Task< bool > Waher.Output.OutputNode.CanViewAsync ( RequestOrigin  Caller)
virtual

If the node is visible to the caller.

Parameters
CallerInformation about caller.
Returns
If the node is visible to the caller.

Implements Waher.Things.INode.

Definition at line 813 of file OutputNode.cs.

◆ CheckOrderLocked()

virtual OutputNode[] Waher.Output.OutputNode.CheckOrderLocked ( List< OutputNode Children)
protectedvirtual

Checks the ordering of children.

Parameters
ChildrenChild nodes.
Returns
Child nodes that need to be updated, or null if no such nodes.

Definition at line 770 of file OutputNode.cs.

◆ DestroyAsync()

virtual async Task Waher.Output.OutputNode.DestroyAsync ( )
virtual

Destroys the node. If it is a child to a parent node, it is removed from the parent first.

Implements Waher.Things.INode.

Definition at line 1277 of file OutputNode.cs.

◆ Equals()

override bool Waher.Output.OutputNode.Equals ( object  obj)

Determines whether the specified object is equal to the current object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

Definition at line 67 of file OutputNode.cs.

◆ GetAncestor< T >()

async Task< T > Waher.Output.OutputNode.GetAncestor< T > ( )

Tries to get an ancestor node of a given type, if one exists.

Returns
Ancestor Node of given type, if found, null otherwise.
Type Constraints
T :INode 

Definition at line 646 of file OutputNode.cs.

◆ GetDisplayableParameterAraryAsync()

async Task< Parameter[]> Waher.Output.OutputNode.GetDisplayableParameterAraryAsync ( Language  Language,
RequestOrigin  Caller 
)

Gets displayable parameters.

Parameters
LanguageLanguage to use.
CallerInformation about caller.
Returns
Set of displayable parameters.

Definition at line 908 of file OutputNode.cs.

◆ GetDisplayableParametersAsync()

virtual async Task< IEnumerable< Parameter > > Waher.Output.OutputNode.GetDisplayableParametersAsync ( Language  Language,
RequestOrigin  Caller 
)
virtual

Gets displayable parameters.

Parameters
LanguageLanguage to use.
CallerInformation about caller.
Returns
Set of displayable parameters.

Implements Waher.Things.INode.

Definition at line 854 of file OutputNode.cs.

◆ GetHashCode()

override int Waher.Output.OutputNode.GetHashCode ( )

Serves as the default hash function.

Returns
A hash code for the current object.

Definition at line 79 of file OutputNode.cs.

◆ GetMessageArrayAsync()

async Task< Message[]> Waher.Output.OutputNode.GetMessageArrayAsync ( RequestOrigin  Caller)

Gets messages logged on the node.

Returns
Array of messages.

Definition at line 935 of file OutputNode.cs.

◆ GetMessagesAsync()

virtual async Task< IEnumerable< Message > > Waher.Output.OutputNode.GetMessagesAsync ( RequestOrigin  Caller)
virtual

Gets messages logged on the node.

Returns
Set of messages.

Implements Waher.Things.INode.

Definition at line 919 of file OutputNode.cs.

◆ GetParent()

async Task< INode > Waher.Output.OutputNode.GetParent ( )

Gets the parent of the node.

Returns
Parent instance.
Exceptions
ExceptionIf parent is not found.

Implements Waher.Output.IOutputNode.

Definition at line 627 of file OutputNode.cs.

◆ GetTypeNameAsync()

abstract Task< string > Waher.Output.OutputNode.GetTypeNameAsync ( Language  Language)
pure virtual

Gets the type name of the node.

Parameters
LanguageLanguage to use.
Returns
Localized type node.

Implements Waher.Things.INode.

Implemented in Waher.Output.Metering.NodeTypes.InternalDatabaseOutput, and Waher.Output.NodeTypes.Root.

◆ GetUniqueNodeId()

static async Task< string > Waher.Output.OutputNode.GetUniqueNodeId ( string  OutputId)
static

Gets a Output ID, based on OutputId that is not already available in the database.

Parameters
OutputIdDesired Output ID
Returns
A Output ID that does not exist in the database.

Definition at line 536 of file OutputNode.cs.

◆ LogErrorAsync() [1/2]

virtual Task Waher.Output.OutputNode.LogErrorAsync ( string  Body)
virtual

Logs an error message on the node.

Parameters
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 192 of file OutputNode.cs.

◆ LogErrorAsync() [2/2]

virtual Task Waher.Output.OutputNode.LogErrorAsync ( string  EventId,
string  Body 
)
virtual

Logs an error message on the node.

Parameters
EventIdOptional Event ID.
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 202 of file OutputNode.cs.

◆ LogInformationAsync() [1/2]

virtual Task Waher.Output.OutputNode.LogInformationAsync ( string  Body)
virtual

Logs an informational message on the node.

Parameters
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 230 of file OutputNode.cs.

◆ LogInformationAsync() [2/2]

virtual Task Waher.Output.OutputNode.LogInformationAsync ( string  EventId,
string  Body 
)
virtual

Logs an informational message on the node.

Parameters
EventIdOptional Event ID.
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 240 of file OutputNode.cs.

◆ LogMessageAsync() [1/2]

virtual Task Waher.Output.OutputNode.LogMessageAsync ( MessageType  Type,
string  Body 
)
virtual

Logs a message on the node.

Parameters
TypeType of message.
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 250 of file OutputNode.cs.

◆ LogMessageAsync() [2/2]

virtual async Task Waher.Output.OutputNode.LogMessageAsync ( MessageType  Type,
string  EventId,
string  Body 
)
virtual

Logs a message on the node.

Parameters
TypeType of message.
EventIdOptional Event ID.
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 261 of file OutputNode.cs.

◆ LogWarningAsync() [1/2]

virtual Task Waher.Output.OutputNode.LogWarningAsync ( string  Body)
virtual

Logs an warning message on the node.

Parameters
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 211 of file OutputNode.cs.

◆ LogWarningAsync() [2/2]

virtual Task Waher.Output.OutputNode.LogWarningAsync ( string  EventId,
string  Body 
)
virtual

Logs an warning message on the node.

Parameters
EventIdOptional Event ID.
BodyMessage body.

Implements Waher.Output.IOutputNode.

Definition at line 221 of file OutputNode.cs.

◆ MoveDownAsync() [1/2]

virtual async Task< bool > Waher.Output.OutputNode.MoveDownAsync ( OutputNode  Child,
RequestOrigin  Caller 
)
virtual

Tries to move the child node down.

Parameters
ChildChild node to move.
CallerInformation about caller.
Returns
If the child node was moved down.

Definition at line 1028 of file OutputNode.cs.

◆ MoveDownAsync() [2/2]

virtual async Task< bool > Waher.Output.OutputNode.MoveDownAsync ( RequestOrigin  Caller)
virtual

Tries to move the node down.

Parameters
CallerInformation about caller.
Returns
If the node was moved down.

Implements Waher.Things.INode.

Definition at line 963 of file OutputNode.cs.

◆ MoveUpAsync() [1/2]

virtual async Task< bool > Waher.Output.OutputNode.MoveUpAsync ( OutputNode  Child,
RequestOrigin  Caller 
)
virtual

Tries to move the child node up.

Parameters
ChildChild node to move.
CallerInformation about caller.
Returns
If the child node was moved up.

Definition at line 977 of file OutputNode.cs.

◆ MoveUpAsync() [2/2]

virtual async Task< bool > Waher.Output.OutputNode.MoveUpAsync ( RequestOrigin  Caller)
virtual

Tries to move the node up.

Parameters
CallerInformation about caller.
Returns
If the node was moved up.

Implements Waher.Things.INode.

Definition at line 950 of file OutputNode.cs.

◆ NodeUpdated()

virtual async Task Waher.Output.OutputNode.NodeUpdated ( )
protectedvirtual

Persists changes to the node, and generates a node updated event.

Definition at line 1173 of file OutputNode.cs.

◆ operator ThingReference()

static implicit Waher.Output.OutputNode.operator ThingReference ( OutputNode  Node)
static

Converts a OutputNode to a ThingReference object.

Parameters
NodeMetering node.

Definition at line 55 of file OutputNode.cs.

◆ RemoveAsync()

virtual async Task< bool > Waher.Output.OutputNode.RemoveAsync ( INode  Child)
virtual

Removes a child from the node.

Parameters
ChildChild to remove.
Returns
If the Child node was found and removed.

Implements Waher.Things.INode.

Definition at line 1222 of file OutputNode.cs.

◆ RemoveErrorAsync() [1/2]

virtual Task< bool > Waher.Output.OutputNode.RemoveErrorAsync ( )
virtual

Removes error messages with an empty event ID from the node.

Implements Waher.Output.IOutputNode.

Definition at line 357 of file OutputNode.cs.

◆ RemoveErrorAsync() [2/2]

virtual Task< bool > Waher.Output.OutputNode.RemoveErrorAsync ( string  EventId)
virtual

Removes error messages with a given event ID from the node.

Parameters
EventIdOptional Event ID.

Implements Waher.Output.IOutputNode.

Definition at line 366 of file OutputNode.cs.

◆ RemoveInformationAsync() [1/2]

virtual Task< bool > Waher.Output.OutputNode.RemoveInformationAsync ( )
virtual

Removes warning messages with an empty event ID from the node.

Implements Waher.Output.IOutputNode.

Definition at line 391 of file OutputNode.cs.

◆ RemoveInformationAsync() [2/2]

virtual Task< bool > Waher.Output.OutputNode.RemoveInformationAsync ( string  EventId)
virtual

Removes an informational message on the node.

Parameters
EventIdOptional Event ID.

Implements Waher.Output.IOutputNode.

Definition at line 400 of file OutputNode.cs.

◆ RemoveMessageAsync() [1/2]

virtual Task< bool > Waher.Output.OutputNode.RemoveMessageAsync ( MessageType  Type)
virtual

Removes messages with empty event IDs from the node.

Parameters
TypeType of message.

Implements Waher.Output.IOutputNode.

Definition at line 409 of file OutputNode.cs.

◆ RemoveMessageAsync() [2/2]

virtual async Task< bool > Waher.Output.OutputNode.RemoveMessageAsync ( MessageType  Type,
string  EventId 
)
virtual

Logs a message on the node.

Parameters
TypeType of message.
EventIdOptional Event ID.

Implements Waher.Output.IOutputNode.

Definition at line 419 of file OutputNode.cs.

◆ RemoveWarningAsync() [1/2]

virtual Task< bool > Waher.Output.OutputNode.RemoveWarningAsync ( )
virtual

Removes warning messages with an empty event ID from the node.

Implements Waher.Output.IOutputNode.

Definition at line 374 of file OutputNode.cs.

◆ RemoveWarningAsync() [2/2]

virtual Task< bool > Waher.Output.OutputNode.RemoveWarningAsync ( string  EventId)
virtual

Removes warning messages with a given event ID from the node.

Parameters
EventIdOptional Event ID.

Implements Waher.Output.IOutputNode.

Definition at line 383 of file OutputNode.cs.

◆ SortChildrenAfterLoadLocked()

virtual OutputNode[] Waher.Output.OutputNode.SortChildrenAfterLoadLocked ( List< OutputNode Children)
protectedvirtual

Method that allows the node to sort its children, after they have been loaded.

Parameters
ChildrenLoaded children.
Returns
Child nodes that need to be updated, or null if no such nodes.

Definition at line 751 of file OutputNode.cs.

◆ ToString()

override string Waher.Output.OutputNode.ToString ( )

Definition at line 167 of file OutputNode.cs.

◆ UpdateAsync()

virtual async Task Waher.Output.OutputNode.UpdateAsync ( )
virtual

Updates the node (in persisted storage).

Implements Waher.Things.INode.

Definition at line 1209 of file OutputNode.cs.

Property Documentation

◆ ChildNodes

Task<IEnumerable<INode> > Waher.Output.OutputNode.ChildNodes
get

Child nodes. If no child nodes are available, null is returned.

Implements Waher.Things.INode.

Definition at line 693 of file OutputNode.cs.

◆ ChildrenOrdered

virtual bool Waher.Output.OutputNode.ChildrenOrdered
get

If the children of the node have an intrinsic order (true), or if the order is not important (false).

Implements Waher.Things.INode.

Definition at line 595 of file OutputNode.cs.

◆ Commands

virtual Task<IEnumerable<ICommand> > Waher.Output.OutputNode.Commands
get

Available command objects. If no commands are available, null is returned.

Implements Waher.Things.INode.

Definition at line 1336 of file OutputNode.cs.

◆ Created

DateTime Waher.Output.OutputNode.Created
getset

When node was created.

Definition at line 108 of file OutputNode.cs.

◆ HasChildren

bool Waher.Output.OutputNode.HasChildren
get

If the source has any child sources.

Implements Waher.Things.INode.

Definition at line 581 of file OutputNode.cs.

◆ HasCommands

virtual bool Waher.Output.OutputNode.HasCommands
get

If the node has registered commands or not.

Implements Waher.Things.INode.

Definition at line 613 of file OutputNode.cs.

◆ IsControllable

virtual bool Waher.Output.OutputNode.IsControllable
get

If the node can be controlled.

Implements Waher.Things.INode.

Definition at line 607 of file OutputNode.cs.

◆ IsReadable

virtual bool Waher.Output.OutputNode.IsReadable
get

If the node can be read.

Implements Waher.Things.INode.

Definition at line 601 of file OutputNode.cs.

◆ LastChanged

DateTime Waher.Output.OutputNode.LastChanged
get

When the node was last updated.

Implements Waher.Things.INode.

Definition at line 668 of file OutputNode.cs.

◆ LocalId

virtual string Waher.Output.OutputNode.LocalId
get

If provided, an ID for the node, but unique locally between siblings. Can be null, if Local ID equal to Node ID.

Implements Waher.Things.INode.

Definition at line 562 of file OutputNode.cs.

◆ LogId

virtual string Waher.Output.OutputNode.LogId
get

If provided, an ID for the node, as it would appear or be used in system logs. Can be null, if Log ID equal to Node ID.

Implements Waher.Things.INode.

Definition at line 568 of file OutputNode.cs.

◆ NodeId

string Waher.Output.OutputNode.NodeId
getset

ID of node.

Implements Waher.Output.IOutputNode.

Definition at line 141 of file OutputNode.cs.

◆ ObjectId

Guid Waher.Output.OutputNode.ObjectId
getset

Object ID in persistence layer.

Definition at line 90 of file OutputNode.cs.

◆ Parent

INode Waher.Output.OutputNode.Parent
get

Parent Node, or null if a root node.

Implements Waher.Things.INode.

Definition at line 620 of file OutputNode.cs.

◆ ParentId

Guid Waher.Output.OutputNode.ParentId
getset

Object ID of parent node in persistence layer.

Definition at line 99 of file OutputNode.cs.

◆ Partition

string Waher.Output.OutputNode.Partition
get

Optional partition in which the Node ID is unique.

Implements Waher.Things.IThingReference.

Definition at line 164 of file OutputNode.cs.

◆ SiblingOrdinal

int Waher.Output.OutputNode.SiblingOrdinal
getset

Sibling ordinal, used to order siblings when ordered.

Definition at line 128 of file OutputNode.cs.

◆ SourceId

string Waher.Output.OutputNode.SourceId
get

Optional ID of source containing node.

Implements Waher.Things.IThingReference.

Definition at line 158 of file OutputNode.cs.

◆ State

NodeState Waher.Output.OutputNode.State
getset

Current overall state of the node.

Implements Waher.Things.INode.

Definition at line 683 of file OutputNode.cs.

◆ Updated

DateTime Waher.Output.OutputNode.Updated
getset

When node was last updated. If it has not been updated, value will be DateTime.MinValue.

Definition at line 118 of file OutputNode.cs.

Event Documentation

◆ OnUpdate

EventHandlerAsync Waher.Output.OutputNode.OnUpdate = null

Event raised when node has been updated.

Definition at line 524 of file OutputNode.cs.


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