C# 클래스 rosette_api.SentimentResponse

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

Hashcode override

SentimentResponse ( HttpResponseMessage apiResult ) : System

Creates a SentimentResponse from the given apiResult

SentimentResponse ( RosetteSentiment docSentiment, List entitySentiments, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System

Creates a SentimentResponse 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

SentimentResponse() 공개 메소드

Creates a SentimentResponse from the given apiResult
public SentimentResponse ( HttpResponseMessage apiResult ) : System
apiResult System.Net.Http.HttpResponseMessage The message from the API
리턴 System

SentimentResponse() 공개 메소드

Creates a SentimentResponse from its components
public SentimentResponse ( RosetteSentiment docSentiment, List entitySentiments, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System
docSentiment RosetteSentiment The sentiment of the entire document/input text
entitySentiments List The entities, each with a sentiment, found in the input text
responseHeaders string>.Dictionary The response headers returned from the API
content object>.Dictionary The content (the doc and entity sentiments) in Dictionary form
contentAsJson string The content in JSON form
리턴 System