Table of Contents

Interface IMacroRuleInstanceTranslator

Namespace
CMS.ContactManagement
Assembly
CMS.ContactManagement.dll

Defines methods needed to translate macro rule instance of one particular macro rule type to data query.

public interface IMacroRuleInstanceTranslator
Extension Methods

Methods

Translate(MacroRuleInstance)

Translates one rule to object query returning contacts. Is used to speed up the process of recalculating contact groups.

ObjectQuery<ContactInfo> Translate(MacroRuleInstance macroRuleInstance)

Parameters

macroRuleInstance MacroRuleInstance

Instance of the macro rule representing one line in the condition builder.

Returns

ObjectQuery<ContactInfo>

Object query for contacts that fit in this rule.