C# 클래스 RssToolkit.Pluralizer.SuffixRule

Suffix rule
파일 보기 프로젝트 열기: Throy/derp-octo-robot

공개 메소드들

메소드 설명
SuffixRule ( string singular, string plural ) : System

Initializes a new instance of the SuffixRule class.

TryToPlural ( string word, string &plural ) : bool

Tries to plural.

TryToSingular ( string word, string &singular ) : bool

Tries to singular.

메소드 상세

SuffixRule() 공개 메소드

Initializes a new instance of the SuffixRule class.
public SuffixRule ( string singular, string plural ) : System
singular string The singular.
plural string The plural.
리턴 System

TryToPlural() 공개 메소드

Tries to plural.
public TryToPlural ( string word, string &plural ) : bool
word string The word.
plural string The plural.
리턴 bool

TryToSingular() 공개 메소드

Tries to singular.
public TryToSingular ( string word, string &singular ) : bool
word string The word.
singular string The singular.
리턴 bool