Interface INumeralParsingSystem
Not actual romanization. This is a system exclusively for parsing other numeral systems (Greek numerals, for instance).
Namespace: Romanization
Assembly: Romanization.NET.dll
Syntax
public interface INumeralParsingSystem
Methods
| Improve this Doc View SourceProcess(String)
The system-specific function that determines the numeric value of a numeral using the system.
Declaration
NumeralValue Process(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The numeral text to parse. |
Returns
Type | Description |
---|---|
NumeralValue | A numeric value representing the value of |
ProcessNumeralsInText(String, Func<NumeralValue, String>)
Processes the given text, parsing any numerals with Process(String) then replacing them with
the result of numeralProcessor
run on their values.
Declaration
string ProcessNumeralsInText(string text, Func<NumeralValue, string> numeralProcessor)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to process. |
Func<NumeralValue, System.String> | numeralProcessor | The function that converts parsed numeric value into a string. |
Returns
Type | Description |
---|---|
System.String | A new copy of |