Method | Description | |
---|---|---|
Capitalize ( string word ) : string |
Capitalizes a word.
|
|
Pluralize ( string word ) : string |
Return the plural of a word.
|
|
Singularize ( string word ) : string |
Return the singular of a word.
|
Method | Description | |
---|---|---|
AddIrregular ( string singular, string plural ) : void | ||
AddPlural ( string rule, string replacement ) : void | ||
AddSingular ( string rule, string replacement ) : void | ||
AddUncountable ( string word ) : void | ||
ApplyRules ( IList rules, string word ) : string | ||
Inflector ( ) : System.Collections |
public static Capitalize ( string word ) : string | ||
word | string | The word to be capitalized. |
return | string |
public static Pluralize ( string word ) : string | ||
word | string | The singular form |
return | string |
public static Singularize ( string word ) : string | ||
word | string | The plural form |
return | string |