Class TranslitPair
The structure to store information about one transliterating replacement.
Inheritance
object
TranslitPair
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public sealed class TranslitPair : ValueType
Constructors
TranslitPair(string, string)
Instantiates a new instance of TranslitPair struct.
Declaration
public TranslitPair(string original, string replacing)
Parameters
Type | Name | Description |
---|---|---|
string | original | |
string | replacing |
Fields
Original
The original (natinal) character to be transliterated.
Declaration
public string Original
Field Value
Type | Description |
---|---|
string |
Replacing
The resulting english character (or few characters) which replaces the original.
Declaration
public string Replacing
Field Value
Type | Description |
---|---|
string |
Properties
this[int]
Returns original or replacing string depend on the index [0..1].
Declaration
public string this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
int | index | Specify "0" to get the original string and "1" to get the replacing string. |
Property Value
Type | Description |
---|---|
string | Returns original string for index=0, replacing string for index="1" and empty string otherwise. |