C# Class rosette_api.TokenizationResponse

Inheritance: RosetteResponse
Datei anzeigen 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

TokenizationResponse ( HttpResponseMessage apiResults ) : System

Creates a TokenizationResponse from the given apiResults

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

Creates a TokenizationResponse from its components

Method Details

Equals() public method

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

GetHashCode() public method

Hashcode override
public GetHashCode ( ) : int
return int

TokenizationResponse() public method

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

TokenizationResponse() public method

Creates a TokenizationResponse from its components
public TokenizationResponse ( List tokens, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System
tokens List The tokens
responseHeaders string>.Dictionary The response headers returned from the API
content object>.Dictionary The content (the tokens) in dictionary form
contentAsJson string The content in JSON form
return System