C# Класс rosette_api.TranslateNamesResponse

Наследование: RosetteResponse
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

TranslateNamesResponse ( HttpResponseMessage apiResult ) : System

Creates a TranslateNamesResponse from the given apiResult

TranslateNamesResponse ( string translation, string targetLanguage, string targetScheme = null, string targetScript = null, string entityType = null, string sourceLanguageOfOrigin = null, string sourceLanguageOfUse = null, string sourceScript = null, double confidence = null, string>.Dictionary responseHeaders = null, object>.Dictionary content = null, string contentAsJson = null ) : System

Creates a TranslateNamesResponse from its components

Описание методов

Equals() публичный Метод

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
Результат bool

GetHashCode() публичный Метод

HashCode override
public GetHashCode ( ) : int
Результат int

TranslateNamesResponse() публичный Метод

Creates a TranslateNamesResponse from the given apiResult
public TranslateNamesResponse ( HttpResponseMessage apiResult ) : System
apiResult System.Net.Http.HttpResponseMessage The message from the API
Результат System

TranslateNamesResponse() публичный Метод

Creates a TranslateNamesResponse from its components
public TranslateNamesResponse ( string translation, string targetLanguage, string targetScheme = null, string targetScript = null, string entityType = null, string sourceLanguageOfOrigin = null, string sourceLanguageOfUse = null, string sourceScript = null, double confidence = null, string>.Dictionary responseHeaders = null, object>.Dictionary content = null, string contentAsJson = null ) : System
translation string The translation
targetLanguage string The target language
targetScheme string The target scheme
targetScript string The target script
entityType string The entity type
sourceLanguageOfOrigin string The source language of origin
sourceLanguageOfUse string The source language of use
sourceScript string The source script
confidence double The confidence
responseHeaders string>.Dictionary The response headers returned from the API
content object>.Dictionary The content in Dictionary form
contentAsJson string The content in JSON form
Результат System