Пример #1
0
 private static async Task TranslateVision(ImageInsights result)
 {
     result.ArabicVisionInsights = new VisionInsights
     {
         Caption = await TranslationServiceHelper.TranslateString(result.VisionInsights.Caption),
         Tags    = await TranslationServiceHelper.TranslateArray(result.VisionInsights.Tags)
     };
 }