Method | Description | |
---|---|---|
AddOrdinalSuffix ( this number ) : string |
Adds the ordinal suffix.
|
|
AddUnderscores ( this pascalCasedWord ) : string |
Adds the underscores.
|
|
ConvertUnderscoresToDashes ( this underscoredWord ) : string |
Converts the underscores to dashes.
|
|
MakeInitialCaps ( this word ) : string |
Makes the initial caps.
|
|
MakeInitialLowerCase ( this word ) : string |
Makes the initial lower case.
|
|
MakePlural ( this word ) : string |
Makes the plural.
|
|
MakeSingular ( this word ) : string |
Makes the singular.
|
|
ToCamelCase ( this lowercaseAndUnderscoredWord ) : string |
Converts the string to camel case.
|
|
ToHumanCase ( this lowercaseAndUnderscoredWord ) : string |
Converts the string to human case.
|
|
ToPascalCase ( this lowercaseAndUnderscoredWord ) : string |
Converts the string to pascal case.
|
|
ToPascalCase ( this text, bool removeUnderscores ) : string |
Converts text to pascal case...
|
|
ToProper ( this sourceString ) : string |
Convert string to proper case
|
|
ToTitleCase ( this word ) : string |
Converts the string to title case.
|
Method | Description | |
---|---|---|
AddIrregularRule ( string singular, string plural ) : void |
Adds the irregular rule.
|
|
AddPluralRule ( string rule, string replacement ) : void |
Adds the plural rule.
|
|
AddSingularRule ( string rule, string replacement ) : void |
Adds the singular rule.
|
|
AddUnknownCountRule ( string word ) : void |
Adds the unknown count rule.
|
|
ApplyRules ( IList |
Applies the rules.
|
|
Inflector ( ) : System |
Initializes the Inflector class.
|
public static AddOrdinalSuffix ( this number ) : string | ||
number | this | The number. |
return | string |
public static AddUnderscores ( this pascalCasedWord ) : string | ||
pascalCasedWord | this | The pascal cased word. |
return | string |
public static ConvertUnderscoresToDashes ( this underscoredWord ) : string | ||
underscoredWord | this | The underscored word. |
return | string |
public static MakeInitialCaps ( this word ) : string | ||
word | this | The word. |
return | string |
public static MakeInitialLowerCase ( this word ) : string | ||
word | this | The word. |
return | string |
public static MakePlural ( this word ) : string | ||
word | this | The word. |
return | string |
public static MakeSingular ( this word ) : string | ||
word | this | The word. |
return | string |
public static ToCamelCase ( this lowercaseAndUnderscoredWord ) : string | ||
lowercaseAndUnderscoredWord | this | The lowercase and underscored word. |
return | string |
public static ToHumanCase ( this lowercaseAndUnderscoredWord ) : string | ||
lowercaseAndUnderscoredWord | this | The lowercase and underscored word. |
return | string |
public static ToPascalCase ( this lowercaseAndUnderscoredWord ) : string | ||
lowercaseAndUnderscoredWord | this | The lowercase and underscored word. |
return | string |
public static ToPascalCase ( this text, bool removeUnderscores ) : string | ||
text | this | The text. |
removeUnderscores | bool | if set to |
return | string |
public static ToProper ( this sourceString ) : string | ||
sourceString | this | The source string. |
return | string |
public static ToTitleCase ( this word ) : string | ||
word | this | The word. |
return | string |