C# Class RomanNumerals.RomanNumeral

Mostra file Open project: antonydenyer/ProgrammingKatas Class Usage Examples

Public Methods

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

Private Methods

Method 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 method

public ContainsNumeral ( string numeral ) : bool
numeral string
return bool

RomanNumeral() public method

public RomanNumeral ( int arabicNumber ) : System.Collections.Generic
arabicNumber int
return System.Collections.Generic

RomanNumeral() public method

public RomanNumeral ( string romanNumeral ) : System.Collections.Generic
romanNumeral string
return System.Collections.Generic

ToInt() public method

public ToInt ( ) : int
return int

ToNumeral() public method

public ToNumeral ( ) : string
return string