Table of Contents

Class ContactInfoProviderExtensions

Namespace
CMS.ContactManagement
Assembly
CMS.ContactManagement.dll

Contains extension methods for ContactInfo's IInfoProvider<TInfo>.

public static class ContactInfoProviderExtensions
Inheritance
object
ContactInfoProviderExtensions

Methods

GetForVisitor(IInfoProvider<ContactInfo>, Guid)

Returns a ContactInfo for given visitor System.Guid.

public static ContactInfo GetForVisitor(this IInfoProvider<ContactInfo> contactInfoProvider, Guid visitor)

Parameters

contactInfoProvider IInfoProvider<ContactInfo>

ContactInfo provider to use to retrieve the info object.

visitor Guid

Visitor GUID to get the contact for.

Returns

ContactInfo

Exceptions

ArgumentNullException

Thrown when contactInfoProvider is null.

See Also