Table of Contents

Class ContactMergeHandler

Namespace
CMS.ContactManagement
Assembly
CMS.ContactManagement.dll

Event handler for the event fired once merging of ContactInfo is in the progress.

public sealed class ContactMergeHandler : SimpleHandler<ContactMergeHandler, CMSEventArgs<ContactMergeModel>>
Inheritance
object
ContactMergeHandler
Inherited Members
Extension Methods

Methods

Start(ContactInfo, ContactInfo)

Invokes the registered Execute event handlers.

public void Start(ContactInfo source, ContactInfo target)

Parameters

source ContactInfo

Contact that is being merged to target.

target ContactInfo

Contact the source is being merged to.

Exceptions

ArgumentNullException

source is null -or- target is null.

StartEvent(ContactInfo, ContactInfo)

Initiates the event.

[Obsolete("Use Start(ContactInfo, ContactInfo) instead.")]
[ObsoleteSince(30, 2)]
public CMSEventArgs<ContactMergeModel> StartEvent(ContactInfo source, ContactInfo target)

Parameters

source ContactInfo

Contact that is being merged to target

target ContactInfo

Contact the source is being merged to

Returns

CMSEventArgs<ContactMergeModel>

Exceptions

ArgumentNullException

source is null -or- target is null