Click or drag to resize
RuleHelper Class
Class providing rule helper methods.
Inheritance Hierarchy
SystemObject
  CMS.OnlineMarketingRuleHelper

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static class RuleHelper

The RuleHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetActivityCondition
Returns activity condition in XML format based on specific data.
Public methodStatic memberGetAttributeCondition
Returns attribute condition in XML format based on specific data.
Public methodStatic memberGetDataFromCondition
Returns data row container initialized with data from rule condition if the table definition contains column named as rule item name. If there is no column named as rule item name then empty data row container is returned.
Public methodStatic memberGetMacroCondition
Returns macro rule condition in XML format based on specific data.
Public methodStatic memberGetMacroConditionFromRule
Returns macro condition saved within the given Rule. If there is no corresponding condition in the rule, returns empty string.
Top
See Also