Click or drag to resize

TriggerShell class

Encapsulates an internal (TreeEvent) or external (Dll) trigger.
Inheritance hierarchy
SystemObject
  LogicalTaskTreeTriggerShell

Namespace: LogicalTaskTree
Assembly: LogicalTaskTree (in LogicalTaskTree.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class TriggerShell : INodeTrigger,
	 
	IDisposable

The TriggerShell Type exposes the following members.

Constructors
Properties
 NameDescription of the
Public PropertyHasTreeEventTrigger True if the TriggerShell encapsulates a TreeEventTrigger.
Public PropertyInfo Contains information on the owning trigger. NextRun and NextRunInfo are implemented. To add further information, the TriggerInfo class can be derived.
Public PropertyReferencedNodeName Name of an originally referenced node or null.
Back to the top
Methods
 NameDescription of the
Public MethodDispose Public method for cleaning up.
Protected MethodDispose(Boolean) Clean up here: calls Dispose() for all user elements that are disposable.
Protected MethodFinalise Finaliser: is called by the GarbageCollector.
(Overwrites ObjectFinalise)
Public MethodGetTreeEventTrigger Returns the trigger if the TriggerShell encapsulates a TreeEventTrigger or null.
Public MethodGetTriggerParameters Returns the last transferred parameters of this trigger.
Public MethodGetTriggerReference Returns the name of the trigger that is to be assigned to a checker.
Public MethodSetSlaveTriggerShell For TriggerShells that only have one name reference during instantiation the trigger is subsequently transferred here.
Public MethodStart Starts the trigger with the callback routine to be called as a parameter. The trigger is only actually restarted if all of the previously RegisterTriggerIt have also called Trigger.Start and the trigger is not already running.
Public MethodStop Stops the trigger when all nodes to be triggered have called Trigger.Stop.
Back to the top
Remarks
File: TriggerShell.cs Author: Erik Nagel 19.07.2013 Erik Nagel: created. 18 Oct 2014 Erik Nagel: completely revised. 20.04.2019 Erik Nagel: Instead of the useless boolean placeholder, the node itself is now used. is saved in RegisteredMayBeTriggeredNodePathes;
See also