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
-
objectContactMergeHandler
- Inherited Members
- Extension Methods
Constructors
ContactMergeHandler()
public ContactMergeHandler()
Methods
Start(ContactInfo, ContactInfo)
Invokes the registered Execute event handlers.
public void Start(ContactInfo source, ContactInfo target)
Parameters
sourceContactInfoContact that is being merged to
target.targetContactInfoContact the
sourceis being merged to.
Exceptions
- ArgumentNullException
sourceisnull-or-targetisnull.
StartEvent(ContactInfo, ContactInfo)
Initiates the event.
[Obsolete("Use Start(ContactInfo, ContactInfo) instead.")]
public CMSEventArgs<ContactMergeModel> StartEvent(ContactInfo source, ContactInfo target)
Parameters
sourceContactInfoContact that is being merged to
targettargetContactInfoContact the
sourceis being merged to
Returns
Exceptions
- ArgumentNullException
sourceisnull-or-targetisnull