Click or drag to resize

LogicalNode methods

The LogicalNode Type exposes the following members.

Methods
 NameDescription of the
Public MethodStatic MemberAllowSnapshots Allows snapshots.
Public MethodBreak If necessary, log out of the trigger, Cancel the task via CancellationToken, set status.
Public MethodCanControlledTreeStart Specifies whether a (sub)tree can be started in a JobController, i.e. that the node and all its parents can be started (recursively).
Public MethodClimb2Top Shimmies up through the tree (up to the root) and calls up the action for each node.
(Inherited from GenericTreeT)
Protected MethodDoRun The actual, node type-specific processing; must be overwritten.
Public MethodEquals Compares the content of this LogicalNode according to logical aspects with the content of a transferred LogicalNode.
(Overwrites ObjectEquals(Object))
Protected MethodFindEventTriggers Searches for relevant triggers for an event.
Public MethodFindNodeById A derivative of LogicalNode can use this to create its own thread cause it to be cancelled.
Public MethodGetEnvironment Returns the ConcurrentDictionary Environment as simple Dictionary Results. Use the internal routine GetResultsFromResultList().
Public MethodGetHashCode Generates a hash code for this LogicalNode.
(Overwrites ObjectGetHashCode)
Public MethodGetlastEventSourceIfIsTreeEventTriggered Updates the values for TreeEvent-triggered nodes of the node before continuing to work with them. Is important in situations in which either the knot is the triggering TreeEvent has missed (at program start) or another TreeEvent was faster and led to a reaction, which leads to the current values of the node is required (JobSnapshotTrigger).
Public MethodGetResults Returns the ConcurrentDictionary ResultList as a simple Dictionary Results. Use the internal routine GetResultsFromResultList().
Public MethodGetTopRootJobList Returns the topmost Root-JobList valid for the node.
Public MethodInitFromNode Sets certain properties to the values of the transferred LogicalNode "source".
Protected MethodInitNode Resets the node to the start settings.
Public MethodInvalidate Deletes internal caches so that everything is re-evaluated.
Protected MethodStatic MemberLogWithDistinctTime Write a message with a short sleeptime before and after to ensure prompt processes can be visualised later in the log in chronological order.
Protected MethodMarkThreadAsInvalidIfActive Adds thread to the list of invalid threads, if the thread is still active.
Protected MethodOnLastNotNullLogicalChanged Triggers the NodeLastNotNullLogicalChanged event.
Protected MethodOnNodeBreaked Triggers the NodeBreaked event.
Protected MethodOnNodeProgressChanged Triggers the NodeProgressChanged event.
Public MethodOnNodeProgressFinished Triggers the NodeProgressFinished event.
Protected MethodOnNodeProgressStarted Triggers the NodeStarted event.
Protected MethodOnNodeWorkersStateChanged Triggers the NodeWorkersStateChanged event.
Public MethodStatic MemberPauseTree Stops processing in the tree.
Public MethodProcessTreeEvent Triggers further processing for the current TreeEvent (trigger, logger).
Public MethodStatic MemberProhibitSnapshots Prevents snapshots.
Protected MethodRaiseNodeLastNotNullLogicalChangedWithTreeEvent Triggers the TreeEvent "AnyLastNotNullLogicalHasChanged" and calls "OnNodeLastNotNullLogicalChanged".
Protected MethodRaiseNodeLogicalChanged Encapsulates the call of the non-inheritable NodeLogicalChanged event for for the derived classes NodeList and JobList. This routine ultimately forwards the event to the UI via NodeLogicalChanged.
Public MethodRefresh Ensures immediate re-evaluation of all cashed statuses.
Public MethodRegisterTriggeredNodes Registers all triggered nodes of a subtree with their triggers.
Public MethodReload Is called up when the subtree is to be reloaded.
Protected MethodResetAllTreeEventTriggeringNodes Resets all nodes in the subtree on which others depend via TreeEvent.
Protected MethodResetAllTreeNodes Resets all nodes in the entire tree.
Protected MethodResetPartTreeNodes Resets all nodes in the subtree from branch.
Public MethodStatic MemberResumeTree Allows a paused tree to continue running.
Public MethodRun Checks whether a node can be started and then starts the node, its trigger, or both (via StartNodeOrTrigger).
Public MethodSetTreeCollapsed Sets the StartCollapsed property for an entire (sub)tree.
Protected MethodSetWorkersState Sets a common (combined) NodeWorkerState 'WorkersState' for all NodeWorkers. Returns NodeWorkersState.
Protected MethodStatic MemberSleepIfNecessary Inserts System.Sleeps to relieve the system. Is more finely adjustable than fixed sleeps in nested inner loops.
Protected MethodThreadUpdateLastLogical Sets threadsafe LastLogical.
Protected MethodThreadUpdateLastLogicalState Sets threadsafe LastLogicalState.
Protected MethodThreadUpdateLastState Sets threadsafe LastState.
Public MethodToString Overridden ToString() method.
(Overwrites ObjectToString)
Public MethodTraverse(ActionInt32, T) Goes recursively through the tree and calls the action for each node.
(Inherited from GenericTreeT)
Public MethodTraverse(FuncInt32, T, Object, Object) Goes recursively through the tree and calls the action for each node.
(Inherited from GenericTreeT)
Protected MethodTraverse(Int32, ActionInt32, T) Recursive auxiliary routine for the public routine 'Traverse'.
(Inherited from GenericTreeT)
Protected MethodTraverse(Int32, FuncInt32, T, Object, Object, Object) Recursive auxiliary routine for the public routine 'Traverse'.
(Inherited from GenericTreeT)
Protected MethodUnMarkThreadAsInvalid Removes thread from the list of invalid threads.
Public MethodUnregisterTriggeredNode Sets the subtree to non-startable.
Public MethodUserBreak Is called up if the subtree has been deliberately stopped by the user.
Public MethodUserRun Starts the processing of this node after a start by the user. Gives the information that the start by the user in the TreeEvent to Run.
Back to the top
See also