C# Class RssToolkit.Pluralizer.SuffixRule

Suffix rule
Afficher le fichier Open project: Throy/derp-octo-robot

Méthodes publiques

Méthode 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 méthode

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

TryToPlural() public méthode

Tries to plural.
public TryToPlural ( string word, string &plural ) : bool
word string The word.
plural string The plural.
Résultat bool

TryToSingular() public méthode

Tries to singular.
public TryToSingular ( string word, string &singular ) : bool
word string The word.
singular string The singular.
Résultat bool