C# Class rosette_api.SyntaxDependenciesResponse

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

SyntaxDependenciesResponse ( HttpResponseMessage apiResult ) : System

Creates a SyntaxDependenciesResponse from the given apiResult

SyntaxDependenciesResponse ( List sentences, List tokens, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System

Creates a SyntaxDependenciesResponse 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

SyntaxDependenciesResponse() public method

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

SyntaxDependenciesResponse() public method

Creates a SyntaxDependenciesResponse from its components
public SyntaxDependenciesResponse ( List sentences, List tokens, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System
sentences List The syntactic dependencies the entire document/input text
tokens List The tokens found in the input text
responseHeaders string>.Dictionary The response headers returned from the API
content object>.Dictionary The content (the doc and syntax dependencies) in Dictionary form
contentAsJson string The content in JSON form
return System