Class ContactInfoProviderExtensions
- Namespace
- CMS.ContactManagement
- Assembly
- CMS.ContactManagement.dll
Contains extension methods for ContactInfo's IInfoProvider<TInfo>.
public static class ContactInfoProviderExtensions
- Inheritance
-
objectContactInfoProviderExtensions
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
GuidVisitor GUID to get the contact for.
Returns
Exceptions
- ArgumentNullException
Thrown when
contactInfoProvider
is null.
- See Also