C# Class Nop.Services.Customers.CustomerExtentions

显示文件 Open project: emilianionascu/NopCommerce

Public Methods

Method Description
FormatUserName ( this customer, bool stripTooLong = false, int maxLength ) : string

Formats the customer name

GetFullName ( this customer ) : string

Get full name

Method Details

FormatUserName() public static method

Formats the customer name
public static FormatUserName ( this customer, bool stripTooLong = false, int maxLength ) : string
customer this Source
stripTooLong bool Strip too long customer name
maxLength int Maximum customer name length
return string

GetFullName() public static method

Get full name
public static GetFullName ( this customer ) : string
customer this Customer
return string