C# Class rosette_api.CategoriesResponse

Inheritance: RosetteResponse
Afficher le fichier Open project: rosette-api/csharp Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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

Method Details

CategoriesResponse() public méthode

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

CategoriesResponse() public méthode

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
Résultat System

Equals() public méthode

Equals override
public Equals ( object obj ) : bool
obj object The object to compare
Résultat bool

GetHashCode() public méthode

Hashcode override
public GetHashCode ( ) : int
Résultat int