Exemple #1
0
 //
 //====================================================================================================
 /// <summary>
 /// Execute an addon in the default addon environment (type=simple, etc) and returns its resulting object. Generally addons return strings. Provide details for the execution environment, such as argument key value pairs.
 /// </summary>
 /// <param name="addonId">The id of the addon to be executed.</param>
 /// <param name="executeContext">The context where the addon is being executed (on a page, in an email, etc.). Typical is 'Simple' which blocks html comments.</param>
 /// <returns></returns>
 public abstract string Execute(int addonId, CPUtilsBaseClass.addonExecuteContext executeContext);
Exemple #2
0
 //
 //====================================================================================================
 /// <summary>
 /// Execute an addon in the default addon environment (type=simple, etc) and returns its resulting object. Generally addons return strings. Provide details for the execution environment, such as argument key value pairs.
 /// </summary>
 /// <param name="addonName">The name of the addon to be executed.</param>
 /// <param name="executeContext">The executing addon can read these arguments with methods like cp.doc.getText("key").</param>
 /// <returns></returns>
 public abstract string ExecuteByUniqueName(string addonName, CPUtilsBaseClass.addonExecuteContext executeContext);
Exemple #3
0
 //
 //====================================================================================================
 /// <summary>
 /// Execute an addon in the default addon environment (type=simple, etc) and returns its resulting object. Generally addons return strings. Provide details for the execution environment, such as argument key value pairs.
 /// </summary>
 /// <param name="addonGuid">The guid of the addon to be executed.</param>
 /// <param name="executeContext">The context where the addon is being executed (on a page, in an email, etc.). Typical is 'Simple' which blocks html comments.</param>
 /// <returns></returns>
 public abstract string Execute(string addonGuid, CPUtilsBaseClass.addonExecuteContext executeContext);