C# Class rosette_api.PingResponse

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Equals ( Object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

PingResponse ( HttpResponseMessage apiMsg ) : System

Creates a PingResposne from the given apiMsg

PingResponse ( String message, long time, string>.Dictionary headers, object>.Dictionary content = null, String contentAsJson = null ) : System

Creates a PingResponse from its components

Method Details

Equals() public méthode

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

GetHashCode() public méthode

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

PingResponse() public méthode

Creates a PingResposne from the given apiMsg
public PingResponse ( HttpResponseMessage apiMsg ) : System
apiMsg System.Net.Http.HttpResponseMessage The message from the API
Résultat System

PingResponse() public méthode

Creates a PingResponse from its components
public PingResponse ( String message, long time, string>.Dictionary headers, object>.Dictionary content = null, String contentAsJson = null ) : System
message String The message
time long The time of the response
headers string>.Dictionary The headers returned by the API
content object>.Dictionary The content in dictionary form
contentAsJson String The content in JSON compatible string form
Résultat System