Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | string |
public static Pluralize ( string word ) : string | ||
word | string | The singular form |
Результат | string |
public static Singularize ( string word ) : string | ||
word | string | The plural form |
Результат | string |