C# Класс rosette_api.CategoriesResponse

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

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