Class ContactNameFormatter
Utility for formatting the name of a contact.
Inherited Members
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public static class ContactNameFormatter
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. |