C# Class Pomona.SingularToPluralTranslator

Mostra file Open project: Pomona/Pomona Class Usage Examples

Public Properties

Property Type Description
IrregularNouns string>.Dictionary

Public Methods

Method Description
CamelCaseToPlural ( string camelCaseWord ) : string
IsIrregular ( string noun ) : bool
ToPlural ( string noun ) : string
ToPluralNoIrregular ( string noun ) : string

Private Methods

Method Description
CreateDictionaryFromText ( string text ) : string>.Dictionary
IsConsonant ( char c ) : bool
IsVowel ( char c ) : bool
SingularToPluralTranslator ( ) : System

Method Details

CamelCaseToPlural() public static method

public static CamelCaseToPlural ( string camelCaseWord ) : string
camelCaseWord string
return string

IsIrregular() public static method

public static IsIrregular ( string noun ) : bool
noun string
return bool

ToPlural() public static method

public static ToPlural ( string noun ) : string
noun string
return string

ToPluralNoIrregular() public static method

public static ToPluralNoIrregular ( string noun ) : string
noun string
return string

Property Details

IrregularNouns public_oe static_oe property

public static Dictionary IrregularNouns
return string>.Dictionary