C# Class TekConf.Api.Infrastructure.Extensions.StringExtension

显示文件 Open project: tekconf/tekconf

Public Methods

Method Description
ToTitleCase ( this str ) : string

Use the current thread's culture info for conversion

ToTitleCase ( this str, CultureInfo cultureInfo ) : string

Overload which uses the specified culture info

ToTitleCase ( this str, string cultureInfoName ) : string

Overload which uses the culture info with the specified name

Method Details

ToTitleCase() public static method

Use the current thread's culture info for conversion
public static ToTitleCase ( this str ) : string
str this
return string

ToTitleCase() public static method

Overload which uses the specified culture info
public static ToTitleCase ( this str, CultureInfo cultureInfo ) : string
str this
cultureInfo System.Globalization.CultureInfo
return string

ToTitleCase() public static method

Overload which uses the culture info with the specified name
public static ToTitleCase ( this str, string cultureInfoName ) : string
str this
cultureInfoName string
return string