Click or drag to resize
DynamicConditionEvaluator Class

Note: This API is now obsolete.

Is able to evaluate Contact group's dynamic condition in asynchronous thread or synchronously.
Inheritance Hierarchy
SystemObject
  CMS.OnlineMarketingDynamicConditionEvaluator

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use ContactGroupRebuilder class instead")]
public class DynamicConditionEvaluator

The DynamicConditionEvaluator type exposes the following members.

Constructors
  NameDescription
Public methodDynamicConditionEvaluator
Top
Methods
  NameDescription
Public methodStatic memberActivityForAllGroups(String)
Evaluates all contact group conditions and assigns contact to those which conditions are met. Doesn't run in separate thread as it is called from task for processing activities. InvalidateCache method must be called after all activities are processed.
Public methodStatic memberActivityForAllGroups(ActivityInfo)
Evaluates all contact group conditions and assigns contact to those which conditions are met. Doesn't run in separate thread as it is called from task for processing activities. InvalidateCache method must be called after all activities are processed.
Public methodStatic memberEvaluateCondition
Evaluates contact group's dynamic condition according to specified contact and activity. Merged contacts are ignored.
Public methodStatic memberInvalidateCache
Invalidates contacts which were used in last mass operation. Must be deleted after every mass operation to prevent difference between DB and cache.
Public methodRun
Run contact group evaluation, this is not asynchronous execution.
Public methodRunAsync
Run asynchronous evaluation.
Top
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
Properties
  NameDescription
Public propertyActivity
Activity which causes evaluation.
Public propertyContact
Contact which caused activity.
Public propertyStatic memberContactCache
Cached contacts which were recently processed.
Public propertyContactGroup
Current group which is being evaluated.
Top
See Also