Click or drag to resize

CheckerShell class

Encapsulates the call of an external work routine, which is loaded dynamically as a Dll plug-in.
Inheritance hierarchy
SystemObject
  LogicalTaskTreeNodeShellBase
    LogicalTaskTreeNodeCheckerBase
      LogicalTaskTreeCheckerShell

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

The CheckerShell Type exposes the following members.

Constructors
Properties
 NameDescription of the
Protected PropertyCanRunDll Dll with the instance of ICanRun. If available, CanRun is started before every of a node is called. If CanRun returns false, the start is cancelled. In CanRun, the parameters transferred via ref can also be be modified.
(Inherited from NodeShellBase)
Public PropertyCanRunDllPath Path to an optional dll that provides an ICanRun instance. If available, before each run of the associated checker or worker CanRun is called. If CanRun returns false, the start is cancelled. The parameters transferred can also be modified in CanRun.
(Inherited from NodeShellBase)
Public PropertyCheckerLogger An optional logger that is called by the node or zero. Is provided by the IJobProvider during instantiation.
(Inherited from NodeCheckerBase)
Public PropertyCheckerParameters Specific call parameters for the checker dll or null.
Public PropertyCheckerTrigger An optional trigger that calls the job repeatedly or null (internally sets BreakWithResult to false). Is provided by the IJobProvider during instantiation.
(Inherited from NodeCheckerBase)
Public PropertyInitNodes If True, all nodes in the tree are reset when this node is started. Can be used for loops in controlled jobs. Default: false.
(Inherited from NodeCheckerBase)
Public PropertyIsGlobal If true, this node is created as a reference node if anywhere in the tree (not only in the current job) the name of the node has already been found. If false, the system only searches for nodes with the same name in the current job. Default: false.
(Inherited from NodeCheckerBase)
Public PropertyIsInvalid With True, after successful global locking no further start attempt is made and the locking cancelled.
(Inherited from NodeCheckerBase)
Public PropertyLastReturned The last result returned.
(Inherited from NodeCheckerBase)
Public PropertyOriginalCheckerParameters Unchanged call parameters for the checker dll or null. In contrast to the CheckerParameters, the OriginalCheckerParameters can be can no longer be subsequently changed using ReplaceWildcardsNPathes. Since ReplaceWildcardsNPathes may also use paths that were created by the caching of the first can be different depending on the timing, such changeable Parameter not suitable for equalisation comparisons.
Public PropertyReferencedNodeName Name of an originally referenced node or null.
(Inherited from NodeCheckerBase)
Public PropertyReturnObject Return object of the checker, can be null.
(Inherited from NodeCheckerBase)
Public PropertySlavePathName Path to the dll of the external checker routine.
Public PropertyTriggeredRunDelay Delays the start of a node (and InitNodes). Can be used for loops in controlled jobs. Default: 0 (milliseconds).
(Inherited from NodeCheckerBase)
Public PropertyUserControlPath The path to the UserControl currently to be loaded dynamically.
(Overwrites NodeCheckerBaseUserControlPath)
Back to the top
Methods
 NameDescription of the
Public MethodCanRun Is used by Vishnu before each run of a Checker, Worker or before Start a trigger is called up. Returns true if the run/start can be executed.
(Inherited from NodeShellBase)
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 MethodGetCheckerReference Returns the name of the checker that is to be assigned to a ValueConverter.
(Inherited from NodeCheckerBase)
Public MethodModifyValue Converts a value into a given format. Must be overwritten, therefore without function here (reflects the input value back) is implemented.
(Overwrites NodeCheckerBaseModifyValue(Object))
Public MethodRun This is where the (normally external) work process is carried out (or observed).
(Overwrites NodeCheckerBaseRun(Object, TreeParameters, TreeEvent))
Public MethodSetChecker Takes over the checker for ValueConverters.
(Inherited from NodeCheckerBase)
Protected MethodSubNodeProgressChanged Is activated if the processing progress of the checker has changed.
(Inherited from NodeCheckerBase)
Back to the top
Events
 NameDescription of the
Public EventNodeProgressChanged Is called up if the processing progress of the checker has changed.
(Inherited from NodeCheckerBase)
Back to the top
Remarks
File: CheckerShell.cs Author: Erik Nagel 01.03.2013 Erik Nagel: created
See also