C# Class rosette_api.LanguageIdentificationResponse

Inheritance: RosetteResponse
Exibir arquivo Open project: rosette-api/csharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Equals ( Object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

LanguageIdentificationResponse ( HttpResponseMessage apiResults ) : System

Creates a LanguageIdentificationResponse from the given apiResults

LanguageIdentificationResponse ( List languageDetections, string>.Dictionary responseHeaders, object>.Dictionary content = null, string contentAsJosn = null ) : System

Creates a LanguageIdentificationResponse from its components

Method Details

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

LanguageIdentificationResponse() public method

Creates a LanguageIdentificationResponse from the given apiResults
public LanguageIdentificationResponse ( HttpResponseMessage apiResults ) : System
apiResults System.Net.Http.HttpResponseMessage The message from the API
return System

LanguageIdentificationResponse() public method

Creates a LanguageIdentificationResponse from its components
public LanguageIdentificationResponse ( List languageDetections, string>.Dictionary responseHeaders, object>.Dictionary content = null, string contentAsJosn = null ) : System
languageDetections List The list of language identifications
responseHeaders string>.Dictionary The response headers
content object>.Dictionary The content (language identifications) in dictionary form
contentAsJosn string The content in JSON form
return System