C# 클래스 RssToolkit.Pluralizer

Used to convert to Plural or Singular
파일 보기 프로젝트 열기: Throy/derp-octo-robot

공개 메소드들

메소드 설명
IsNounPluralOfNoun ( string plural, string singular ) : bool

Determines whether [is noun plural of noun] [the specified plural].

ToPlural ( string noun ) : string

Converts to the plural.

ToSingular ( string noun ) : string

Converts to the singular.

비공개 메소드들

메소드 설명
AdjustCase ( string s, string template ) : string
Pluralizer ( ) : System
ToPluralInternal ( string s ) : string
ToSingularInternal ( string s ) : string

메소드 상세

IsNounPluralOfNoun() 공개 정적인 메소드

Determines whether [is noun plural of noun] [the specified plural].
public static IsNounPluralOfNoun ( string plural, string singular ) : bool
plural string The plural.
singular string The singular.
리턴 bool

ToPlural() 공개 정적인 메소드

Converts to the plural.
public static ToPlural ( string noun ) : string
noun string The word.
리턴 string

ToSingular() 공개 정적인 메소드

Converts to the singular.
public static ToSingular ( string noun ) : string
noun string The word.
리턴 string