Class TranslatorExtension
Inherited Members
Namespace: AXSharp.Connector.Localizations
Assembly: AXSharp.Connector.dll
Syntax
public static class TranslatorExtension
Methods
| Edit this page View SourceTranslate(ITwinElement, string, CultureInfo)
Extension method provides translation of a localized string attached to a twin element.
Declaration
public static string Translate(this ITwinElement twin, string originalString, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
ITwinElement | twin | Twin element to which the string is attached. |
string | originalString | Localized string to be translated. |
CultureInfo | culture |
Returns
Type | Description |
---|---|
string |