C# Class NContrib.Culture.EnglishInflector

Inheritance: IInflector
Datei anzeigen Open project: veracross/ncontrib

Protected Properties

Property Type Description
Irregular ].string[
Plural ].string[
Singular ].string[
Uncountable string[]

Public Methods

Method Description
ToPlural ( string word ) : string
ToPlural ( string word, int number ) : string
ToSingular ( string word ) : string
ToSingular ( string word, int number ) : string

Method Details

ToPlural() public method

public ToPlural ( string word ) : string
word string
return string

ToPlural() public method

public ToPlural ( string word, int number ) : string
word string
number int
return string

ToSingular() public method

public ToSingular ( string word ) : string
word string
return string

ToSingular() public method

public ToSingular ( string word, int number ) : string
word string
number int
return string

Property Details

Irregular protected_oe static_oe property

protected static string[,] Irregular
return ].string[

Plural protected_oe static_oe property

protected static string[,] Plural
return ].string[

Singular protected_oe static_oe property

protected static string[,] Singular
return ].string[

Uncountable protected_oe static_oe property

protected static string[] Uncountable
return string[]