Метод | Описание | |
---|---|---|
Camelize ( string lowercaseAndUnderscoredWord ) : string | ||
Capitalize ( string word ) : string | ||
Dasherize ( string underscoredWord ) : string | ||
Humanize ( string lowercaseAndUnderscoredWord ) : string | ||
Ordinalize ( string number ) : string | ||
Pascalize ( string lowercaseAndUnderscoredWord ) : string | ||
Pluralize ( string word ) : string | ||
Singularize ( string word ) : string | ||
Titleize ( string word ) : string | ||
Uncapitalize ( string word ) : string | ||
Underscore ( string pascalCasedWord ) : string |
Метод | Описание | |
---|---|---|
AddIrregular ( string singular, string plural ) : void | ||
AddPlural ( string rule, string replacement ) : void | ||
AddSingular ( string rule, string replacement ) : void | ||
AddUncountable ( string word ) : void | ||
ApplyRules ( List |
||
Inflector ( ) : System.Collections.Generic |
public static Camelize ( string lowercaseAndUnderscoredWord ) : string | ||
lowercaseAndUnderscoredWord | string | |
Результат | string |
public static Capitalize ( string word ) : string | ||
word | string | |
Результат | string |
public static Dasherize ( string underscoredWord ) : string | ||
underscoredWord | string | |
Результат | string |
public static Humanize ( string lowercaseAndUnderscoredWord ) : string | ||
lowercaseAndUnderscoredWord | string | |
Результат | string |
public static Ordinalize ( string number ) : string | ||
number | string | |
Результат | string |
public static Pascalize ( string lowercaseAndUnderscoredWord ) : string | ||
lowercaseAndUnderscoredWord | string | |
Результат | string |
public static Pluralize ( string word ) : string | ||
word | string | |
Результат | string |
public static Singularize ( string word ) : string | ||
word | string | |
Результат | string |
public static Titleize ( string word ) : string | ||
word | string | |
Результат | string |
public static Uncapitalize ( string word ) : string | ||
word | string | |
Результат | string |
public static Underscore ( string pascalCasedWord ) : string | ||
pascalCasedWord | string | |
Результат | string |