Click or drag to resize
MacroRuleMetadata Constructor (String, IMacroRuleInstanceTranslator, IListString)

Note: This API is now obsolete.

Constructor.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use MacroRuleMetadata(string, IMacroRuleInstanceTranslator, IList<string>, IList<string>) instead.")]
public MacroRuleMetadata(
	string macroRuleName,
	IMacroRuleInstanceTranslator translator,
	IList<string> affectingActivities = null
)

Parameters

macroRuleName
Type: SystemString
Rule of the macro (see MacroRuleName)
translator
Type: CMS.OnlineMarketingIMacroRuleInstanceTranslator
A translator to use for macro with name macroRuleName
affectingActivities (Optional)
Type: System.Collections.GenericIListString
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