TranslationResult
Wisej.Ext.Translation.TranslationResult
Last updated
Wisej.Ext.Translation.TranslationResult
Last updated
Namespace: Wisej.Ext.Translation
Assembly: Wisej.Ext.Translation (3.2.0.0)
Represents the result of a translation request.
Constructs a new instance of TranslationResult.
originalText
The original text.
translatedText
The translated text - or null if an error occurred.
from
The language of the original text.
to
The language of the translated text.
errorCode
The error code returned by the translatation service, or -1 if the service returned an error message without an error code. Zero if the request was successful.
errorMessage
The error messsage returned by the translation service, or null if the request was successful.
Int32: The error code returned by the translatation service, or -1 if the service returned an error message without an error code. Zero if the request was successful.
String: The error messsage returned by the translation service, or null if the request was successful.
String: Returns the language of the original text.
String: The original text.
String: Returns the language of the translated text.
String: The translated text - or null if an error occurred.