Click or drag to resize

NodeShellBase class

Base class for CheckerShell, TriggerShell, WorkerShell. Provides parameter substitution. If a local IParameterReplacer dll or such a in the UserAssemblies directory. Provides bool CanRun(). Takes a local ICanRun dll or such a dll into account. in the UserAssemblies directory (Note: IParameterReplacer and ICanRun can also be implemented by a common dll).
Inheritance hierarchy
SystemObject
  LogicalTaskTreeNodeShellBase
    LogicalTaskTreeNodeCheckerBase
    LogicalTaskTreeWorkerShell

Namespace: LogicalTaskTree
Assembly: LogicalTaskTree (in LogicalTaskTree.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class NodeShellBase : ICanRun

The NodeShellBase Type exposes the following members.

Constructors
 NameDescription of the
Public MethodNodeShellBase Standard constructor: checks whether ICanRun-dll and/or IParameterReader-dll exist in the current or UserAssemblies directory and loads them.
Back to the top
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.
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.
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.
Back to the top
Remarks
File: NodeShellBase.cs Author: Erik Nagel 30.05.2015 Erik Nagel: created
See also