Click or drag to resize
MacroRuleMetadata Structure
Metadata for a MacroRule in Online Marketing context. See MacroRuleMetadataContainer for information on how to use it to speed up recalculation of contact groups.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public struct MacroRuleMetadata

The MacroRuleMetadata type exposes the following members.

Constructors
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldAffectingActivities
Activities that affect given macro rule (that means if any of these activities performs, the rule should be recalculated).
Public fieldAffectingAttributes
Determines whether the macro rule is affected by change of contact's attribute.
Public fieldStatic memberALL_ACTIVITIES
A constant representing all activities. Is used in AffectingActivities to mark that all activities affect this macro rule.
Public fieldStatic memberALL_ATTRIBUTES
A constant representing all attributes. Is used in AffectingAttributes to mark that all attributes affect this macro rule.
Public fieldMacroRuleName
Codename of the MacroRuleInfo.
Public fieldStatic membermAllActivitiesList
List with ALL_ACTIVITIES to mark that the rule should be recalculated on every activity.
Public fieldTranslator
A translator to use for MacroRuleInfo with MacroRuleName.
Top
See Also