Method | Description | |
---|---|---|
AddOrdinalSuffix ( string number ) : string | ||
AddUnderscores ( string pascalCasedWord ) : string | ||
ConvertUnderscoresToDashes ( string underscoredWord ) : string | ||
IsStringNumeric ( string str ) : bool | ||
MakeInitialCaps ( string word ) : string | ||
MakeInitialLowerCase ( string word ) : string | ||
MakePlural ( string word ) : string | ||
MakeSingular ( string word ) : string | ||
ToHumanCase ( string lowercaseAndUnderscoredWord ) : string | ||
ToTitleCase ( string word ) : string |
Method | Description | |
---|---|---|
AddIrregularRule ( string singular, string plural ) : void | ||
AddPluralRule ( string rule, string replacement ) : void | ||
AddSingularRule ( string rule, string replacement ) : void | ||
AddUnknownCountRule ( string word ) : void | ||
ApplyRules ( IList |
||
Inflector ( ) : System.Collections.Generic |
public static AddOrdinalSuffix ( string number ) : string | ||
number | string | |
return | string |
public static AddUnderscores ( string pascalCasedWord ) : string | ||
pascalCasedWord | string | |
return | string |
public static ConvertUnderscoresToDashes ( string underscoredWord ) : string | ||
underscoredWord | string | |
return | string |
public static IsStringNumeric ( string str ) : bool | ||
str | string | |
return | bool |
public static MakeInitialCaps ( string word ) : string | ||
word | string | |
return | string |
public static MakeInitialLowerCase ( string word ) : string | ||
word | string | |
return | string |
public static MakePlural ( string word ) : string | ||
word | string | |
return | string |
public static MakeSingular ( string word ) : string | ||
word | string | |
return | string |
public static ToHumanCase ( string lowercaseAndUnderscoredWord ) : string | ||
lowercaseAndUnderscoredWord | string | |
return | string |
public static ToTitleCase ( string word ) : string | ||
word | string | |
return | string |