Class ContactGroupEvaluator
- Namespace
- CMS.ContactManagement
- Assembly
- CMS.ContactManagement.dll
Task for evaluation of dynamic contact group. Contacts' membership to a contact group depends on meeting the dynamic condition.
[Obsolete("Class was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(29, 0)]
public class ContactGroupEvaluator : IScheduledTask
- Inheritance
-
objectContactGroupEvaluator
- Implements
- Extension Methods
Fields
IDENTIFIER
Represents the ContactGroupEvaluator identifier.
public const string IDENTIFIER = "Kentico.ScheduledTask.ContactGroupEvaluator"
Field Value
- string
Properties
ContactGroup
Contact group. Optional, should be set if this class is used outside the scheduler.
public ContactGroupInfo ContactGroup { get; set; }
Property Value
ContactGroupInfoProvider
Gets the provider for ContactGroupInfo management.
protected virtual IContactGroupInfoProvider ContactGroupInfoProvider { get; }
Property Value
Methods
Execute(ScheduledTaskConfigurationInfo)
Evaluates the membership of contacts to given contact group.
public ScheduledTaskExecutionResult Execute(ScheduledTaskConfigurationInfo task)
Parameters
task
ScheduledTaskConfigurationInfoTask to process
Returns
Execute(ScheduledTaskConfigurationInfo, CancellationToken)
Evaluates the membership of contacts to given contact group.
public Task<ScheduledTaskExecutionResult> Execute(ScheduledTaskConfigurationInfo task, CancellationToken cancellationToken)
Parameters
task
ScheduledTaskConfigurationInfoTask to process.
cancellationToken
CancellationTokenCancellation token.
Returns
Run()
Starts contact groups members evaluation.
public void Run()