C# 클래스 rosette_api.CategoriesResponse

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CategoriesResponse ( HttpResponseMessage apiResult ) : System

Creates a CategoriesResponse from the API's raw output

CategoriesResponse ( List categories, string>.Dictionary responseHeaders, object>.Dictionary content = null, String contentAsJson = null ) : System

Constructs a Categories Response from a list of RosetteCategories, a collection of response headers, and content in a dictionary or content as JSON

Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

Hashcode override

메소드 상세

CategoriesResponse() 공개 메소드

Creates a CategoriesResponse from the API's raw output
public CategoriesResponse ( HttpResponseMessage apiResult ) : System
apiResult System.Net.Http.HttpResponseMessage The API's output
리턴 System

CategoriesResponse() 공개 메소드

Constructs a Categories Response from a list of RosetteCategories, a collection of response headers, and content in a dictionary or content as JSON
public CategoriesResponse ( List categories, string>.Dictionary responseHeaders, object>.Dictionary content = null, String contentAsJson = null ) : System
categories List The list of RosetteCategories
responseHeaders string>.Dictionary The response headers from the API
content object>.Dictionary The content of the response (i.e. the categories list)
contentAsJson String The content as a JSON string
리턴 System

Equals() 공개 메소드

Equals override
public Equals ( object obj ) : bool
obj object The object to compare
리턴 bool

GetHashCode() 공개 메소드

Hashcode override
public GetHashCode ( ) : int
리턴 int