MacroRuleMetadata Constructor |
Constructor.
Namespace: CMS.ContactManagementAssembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntaxpublic MacroRuleMetadata(
string macroRuleName,
IMacroRuleInstanceTranslator translator,
IList<string> affectingActivities,
IList<string> affectingAttributes
)
Parameters
- macroRuleName
- Type: System.String
Rule of the macro (see MacroRuleName) - translator
- Type: CMS.ContactManagement.IMacroRuleInstanceTranslator
A translator to use for macro with name macroRuleName - affectingActivities
- Type: System.Collections.Generic.IList<String>
List of activities that affect this macro rule. The rule gets recalculated only if one of these activity types performs.
Leave null to not recalculate the rule on any activity.
- affectingAttributes
- Type: System.Collections.Generic.IList<String>
List of attributes that affect this macro rule. The rule gets recalculated only if one of these attributes changes.
Leave null to not recalculate the rule on any attribute change.
See Also