C# Класс Felinesoft.UmbracoCodeFirst.Extensions.CasingExtensions

Extensions to convert strings between proper, pascal and camel case
Показать файл Открыть проект

Открытые методы

Метод Описание
ToCamelCase ( this the_string ) : string

Convert the string to camel case

ToPascalCase ( this the_string ) : string

Convert the string to Pascal case.

ToProperCase ( this the_string ) : string

Capitalize the first character and add a space before each capitalized letter except the first character.

Описание методов

ToCamelCase() публичный статический Метод

Convert the string to camel case
public static ToCamelCase ( this the_string ) : string
the_string this
Результат string

ToPascalCase() публичный статический Метод

Convert the string to Pascal case.
public static ToPascalCase ( this the_string ) : string
the_string this
Результат string

ToProperCase() публичный статический Метод

Capitalize the first character and add a space before each capitalized letter except the first character.
public static ToProperCase ( this the_string ) : string
the_string this
Результат string