Class UserScriptBase
- Namespace
- ArcanaDevelopment.adTempus.ApplicationIntegration
- Assembly
- ArcanaDevelopment.adTempus.ApplicationIntegration.dll
Base class for all user scripts.
[Serializable]
public abstract class UserScriptBase : MarshalByRefObject
- Inheritance
-
objectMarshalByRefObjectUserScriptBase
- Derived
Remarks
All user scripts run in adTempus are implemented in a class that derives from UserScriptBase.
Depending on the purpose for which the script was created, it may inherit from a specialization
of UserScriptBase. For example, a script created for use by a File Trigger will inherit from
FileTriggerScriptBase.
Properties
Parameters
Gets the parameters for the script.
protected virtual IScriptParameters Parameters { get; }
Property Value
Remarks
The type of the Parameters object will depend on the context in which the script is being used. For example, if the script is being run by a File Trigger, the parameters will be of type FileTriggerScriptParameters.
Methods
Initialize(IApplicationIntegration, IScriptParameters)
Initializes the script.
public void Initialize(IApplicationIntegration host, IScriptParameters sourceParameters)
Parameters
| Name | Type | Description |
|---|---|---|
host |
IApplicationIntegration | |
sourceParameters |
IScriptParameters |
Remarks
This method is intended for use by adTempus.
Run()
Runs the script.
public abstract object Run()
Returns
- object
Remarks
This method is intended for use by adTempus.