C# 클래스 System.Web.Mvc.IronRuby.Extensions.Inflector

파일 보기 프로젝트 열기: jschementi/ironrubymvc

공개 메소드들

메소드 설명
Camelize ( this lowercaseAndUnderscoredWord ) : string
Dasherize ( this underscoredWord ) : string
Humanize ( this lowercaseAndUnderscoredWord ) : string
Ordinalize ( this number ) : string
Pascalize ( this lowercaseAndUnderscoredWord ) : string
Pluralize ( this word ) : string
Singularize ( this word ) : string
Titleize ( this word ) : string

비공개 메소드들

메소드 설명
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
Capitalize ( this word ) : string
Inflector ( ) : System.Collections.Generic
Uncapitalize ( this word ) : string
Underscore ( this pascalCasedWord ) : string

메소드 상세

Camelize() 공개 정적인 메소드

public static Camelize ( this lowercaseAndUnderscoredWord ) : string
lowercaseAndUnderscoredWord this
리턴 string

Dasherize() 공개 정적인 메소드

public static Dasherize ( this underscoredWord ) : string
underscoredWord this
리턴 string

Humanize() 공개 정적인 메소드

public static Humanize ( this lowercaseAndUnderscoredWord ) : string
lowercaseAndUnderscoredWord this
리턴 string

Ordinalize() 공개 정적인 메소드

public static Ordinalize ( this number ) : string
number this
리턴 string

Pascalize() 공개 정적인 메소드

public static Pascalize ( this lowercaseAndUnderscoredWord ) : string
lowercaseAndUnderscoredWord this
리턴 string

Pluralize() 공개 정적인 메소드

public static Pluralize ( this word ) : string
word this
리턴 string

Singularize() 공개 정적인 메소드

public static Singularize ( this word ) : string
word this
리턴 string

Titleize() 공개 정적인 메소드

public static Titleize ( this word ) : string
word this
리턴 string