Archive Browser
Download AzureTranslationDemoV3.zip, last updated 11/04/2019 (45.48 KB)
Download- md5: 71243a5a58a5b2055e7ffbc8a12dbbbb
- sha1: b3ea3e69c98e9179121e56912434d6ffa37ed7e9
- sha256: 5a4c764a08816a7bfc3060ba0006883bf49134838680b88901018ef707a23650
using PetaJson;
// Migrating from Azure translation API version 2 to 3
// http://www.cyotek.com/blog/migrating-from-azure-translation-api-version-2-to-3
// This work is licensed under the Creative Commons Attribution 4.0 International License.
// To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
// Found this example useful?
// https://www.paypal.me/cyotek
namespace Cyotek.Demo.AzureTranslation
{
partial class TranslationClient
{
#region Nested type: TranslationResult
private sealed class TranslationResult
{
#region Fields
private string _targetLanguage;
private string _text;
#endregion
#region Properties
[Json("to")]
public string TargetLanguage
{
get { return _targetLanguage; }
set { _targetLanguage = value; }
}
[Json("text")]
public string Text
{
get { return _text; }
set { _text = value; }
}
#endregion
}
#endregion
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate