Class ContactNameFormatter
Utility for formatting the name of a contact.
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public static class ContactNameFormatter : Object
Methods
GetFullName(Contact)
Get full name for a contact.
Declaration
public static string GetFullName(this Contact entity)
Parameters
Type | Name | Description |
---|---|---|
Contact | entity | Entity representing the contact. |
Returns
Type | Description |
---|---|
String | Full name for a contact. |
GetFullName(ContactRow)
Get full name for a contact.
Declaration
public static string GetFullName(this ContactRow row)
Parameters
Type | Name | Description |
---|---|---|
ContactRow | row | Roe representing the contact. |
Returns
Type | Description |
---|---|
String | Full name for a contact. |
GetFullName(String, String)
Get full name for a contact.
Declaration
public static string GetFullName(string name, string department)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the contact. |
String | department | Department of the contact. |
Returns
Type | Description |
---|---|
String | Full name for a contact. |