Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CustomerContactExtensions

Extension methods for customer contact.

Inheritance
System.Object
CustomerContactExtensions
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public static class CustomerContactExtensions : Object

Methods

GetHtmlEncodedEmail(CustomerContact)

Gets the email from customerContact HTML encoded.

Declaration
public static string GetHtmlEncodedEmail(this CustomerContact customerContact)
Parameters
Type Name Description
CustomerContact customerContact

The customer contact.

Returns
Type Description
System.String

The email from customerContact HTML encoded.

GetHtmlEncodedFullName(CustomerContact)

Gets the full name from customerContact HTML encoded.

Declaration
public static string GetHtmlEncodedFullName(this CustomerContact customerContact)
Parameters
Type Name Description
CustomerContact customerContact

The customer contact.

Returns
Type Description
System.String

The full name from customerContact HTML encoded.