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
Methods
Start(ContactInfo, ContactInfo)
Invokes the registered Execute event handlers.
public void Start(ContactInfo source, ContactInfo target)
Parameters
source
ContactInfoContact that is being merged to
target
.target
ContactInfoContact the
source
is being merged to.
Exceptions
- ArgumentNullException
source
isnull
-or-target
isnull
.
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
ContactInfoContact that is being merged to
target
target
ContactInfoContact the
source
is being merged to
Returns
Exceptions
- ArgumentNullException
source
isnull
-or-target
isnull