C# Class RssToolkit.Pluralizer.SuffixRule

Suffix rule
Datei anzeigen Open project: Throy/derp-octo-robot

Public Methods

Method Description
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.

Method Details

SuffixRule() public method

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

TryToPlural() public method

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

TryToSingular() public method

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