C# Class Felinesoft.UmbracoCodeFirst.Extensions.CasingExtensions

Extensions to convert strings between proper, pascal and camel case
Afficher le fichier Open project: DanMannMann/UmbracoCodeFirst

Méthodes publiques

Méthode Description
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.

Method Details

ToCamelCase() public static méthode

Convert the string to camel case
public static ToCamelCase ( this the_string ) : string
the_string this
Résultat string

ToPascalCase() public static méthode

Convert the string to Pascal case.
public static ToPascalCase ( this the_string ) : string
the_string this
Résultat string

ToProperCase() public static méthode

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
Résultat string