MacroRuleMetadata Constructor (String, IMacroRuleInstanceTranslator, IList String )Kentico 8.1 API Reference
Constructor.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

macroRuleName
Type: OnlineSystem String
Rule of the macro (see MacroRuleName)
translator
Type: CMS.OnlineMarketing IMacroRuleInstanceTranslator
A translator to use for macro with name macroRuleName
affectingActivities (Optional)
Type: OnlineSystem.Collections.Generic IList OnlineString 
List of activities that affect this macro rule. The rule gets recalculated only if one of these activity types performs. Leave null to recalculate the rule on all activities.
See Also