Class AddonBaseClass
- Namespace
- Contensive.BaseClasses
- Assembly
- CPBase.dll
public abstract class AddonBaseClass
- Inheritance
-
AddonBaseClass
- Inherited Members
Methods
Execute(CPBaseClass)
The only exposed method of an addon. The method performs the required work and returns an object, typically a string. For addons executed in web page content, the returned string is added to the page where the addon is placed. When run as a remote method, the result is returned from the endpoint. For addons run as processes, the returned string is logged in the process log.
public abstract object Execute(CPBaseClass CP)
Parameters
CPCPBaseClassAn instance of the CPBaseClass with a valid CP.MyAddon object pointing to the current addon parameters (values for this addon in the database)