C# Class ReviewR.Web.Infrastructure.Pluralizer.SuffixRule

Show file Open project: anurse/ReviewR

Public Methods

Method Description
SuffixRule ( string singular, string plural ) : System
TryToPlural ( string word, string &plural ) : bool
TryToSingular ( string word, string &singular ) : bool

Method Details

SuffixRule() public method

public SuffixRule ( string singular, string plural ) : System
singular string
plural string
return System

TryToPlural() public method

public TryToPlural ( string word, string &plural ) : bool
word string
plural string
return bool

TryToSingular() public method

public TryToSingular ( string word, string &singular ) : bool
word string
singular string
return bool