C# Class rosette_api.EntitiesResponse

Inheritance: RosetteResponse
显示文件 Open project: rosette-api/csharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
EntitiesResponse ( HttpResponseMessage apiResult ) : System

Creates a CategoriesResponse from the API's raw output

EntitiesResponse ( List entities, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System

Creates an EntitiesResponse from its components

Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

Hashcode override

Method Details

EntitiesResponse() public method

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

EntitiesResponse() public method

Creates an EntitiesResponse from its components
public EntitiesResponse ( List entities, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System
entities List The list of entities
responseHeaders string>.Dictionary The response headers returned from the API
content object>.Dictionary The content of the response in dictionary form
contentAsJson string The content of the response in JSON form
return System

Equals() public method

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
return bool

GetHashCode() public method

Hashcode override
public GetHashCode ( ) : int
return int