public static TranslateDetails SetTranslationDetails(this ITranslationProvider translationService, TranslateDetails translationDetails, Exception translationError)
 {
     translationDetails.TranslationError = translationError;
     return(translationDetails);
 }
 public static TranslateDetails SetTranslationDetails(this ITranslationProvider translationService, TranslateDetails translationDetails, Exception translationError)
 {
     translationDetails.TranslationError = translationError;
     return translationDetails;
 }
 public static TranslateDetails SetTranslationDetails(this ITranslationProvider translationService, TranslateDetails translationDetails, string translatedText)
 {
     translationDetails.TranslatedText = translatedText;
     return(translationDetails);
 }
 public static TranslateDetails SetTranslationDetails(this ITranslationProvider translationService, TranslateDetails translationDetails, string translatedText)
 {
     translationDetails.TranslatedText = translatedText;
     return translationDetails;
 }