C# 클래스 rosette_api.PingResponse

상속: RosetteResponse
파일 보기 프로젝트 열기: rosette-api/csharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

메소드 상세

Equals() 공개 메소드

Equals override
public Equals ( Object obj ) : bool
obj Object The object to compare against
리턴 bool

GetHashCode() 공개 메소드

HashCode override
public GetHashCode ( ) : int
리턴 int

PingResponse() 공개 메소드

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

PingResponse() 공개 메소드

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
리턴 System