Interface IMultiInOutCultureSystem
An extended version of IMultiInCultureSystem that supports providing a culture to romanize to, as well as from. the reason this is separate from IMultiInCultureSystem is because many systems don't have to do anything culture-specific when romanizing to a culture, but some do.
Inherited Members
Namespace: Romanization
Assembly: Romanization.NET.dll
Syntax
public interface IMultiInOutCultureSystem : IMultiInCultureSystem, IMultiOutCultureSystem, IRomanizationSystem
Methods
| Improve this Doc View SourceProcess(String, CultureInfo, CultureInfo)
The system-specific function that romanizes text according to the system's rules, using the provided
nativeCulture
for processing of native text, and romanizedCulture
for
processing of romanized text.
Note that use of non-relevant cultures WILL lead to unexpected behaviour. If you don't know which cultures to use, use the standard
Process(String) instead.
Declaration
string Process(string text, CultureInfo nativeCulture, CultureInfo romanizedCulture)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to romanize. |
CultureInfo | nativeCulture | The culture to romanize from. |
CultureInfo | romanizedCulture | The culture to romanize to. |
Returns
Type | Description |
---|---|
System.String | A romanized version of the text, leaving unrecognized characters untouched. |