C# Class RomanNumerals.RomanNumeral

Afficher le fichier Open project: antonydenyer/ProgrammingKatas Class Usage Examples

Méthodes publiques

Méthode Description
ContainsNumeral ( string numeral ) : bool
RomanNumeral ( int arabicNumber ) : System.Collections.Generic
RomanNumeral ( string romanNumeral ) : System.Collections.Generic
ToInt ( ) : int
ToNumeral ( ) : string

Private Methods

Méthode Description
DuoNumeral ( char one, char two ) : string
GetLargestNumeral ( int arabicNumber ) : RomanNumeralMap
GetNumeral ( string numeral ) : RomanNumeralMap
GetintegerForNumeral ( string numeral ) : int
ParseRomanNumeral ( string romanNumeral ) : int
ToRomanNumeral ( int arabicNumber ) : string

Method Details

ContainsNumeral() public méthode

public ContainsNumeral ( string numeral ) : bool
numeral string
Résultat bool

RomanNumeral() public méthode

public RomanNumeral ( int arabicNumber ) : System.Collections.Generic
arabicNumber int
Résultat System.Collections.Generic

RomanNumeral() public méthode

public RomanNumeral ( string romanNumeral ) : System.Collections.Generic
romanNumeral string
Résultat System.Collections.Generic

ToInt() public méthode

public ToInt ( ) : int
Résultat int

ToNumeral() public méthode

public ToNumeral ( ) : string
Résultat string