C# 클래스 rosette_api.TranslateNamesResponse

상속: RosetteResponse
파일 보기 프로젝트 열기: rosette-api/csharp 1 사용 예제들

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