C# 클래스 TimelapseApi.Common.Utility

파일 보기 프로젝트 열기: evercam/Timelapse

공개 메소드들

메소드 설명
GetJsonResult ( string message ) : Newtonsoft.Json.Linq.JObject
GetJsonResult ( string message, bool success ) : Newtonsoft.Json.Linq.JObject
GetResponseException ( string message, HttpStatusCode status ) : HttpResponseException
GetResponseMessage ( string message, HttpStatusCode status ) : HttpResponseMessage
GetTimelapseResourceUrl ( Timelapse timelapse ) : string
GetTimezone ( string tzId ) : string

메소드 상세

GetJsonResult() 공개 정적인 메소드

public static GetJsonResult ( string message ) : Newtonsoft.Json.Linq.JObject
message string
리턴 Newtonsoft.Json.Linq.JObject

GetJsonResult() 공개 정적인 메소드

public static GetJsonResult ( string message, bool success ) : Newtonsoft.Json.Linq.JObject
message string
success bool
리턴 Newtonsoft.Json.Linq.JObject

GetResponseException() 공개 정적인 메소드

public static GetResponseException ( string message, HttpStatusCode status ) : HttpResponseException
message string
status HttpStatusCode
리턴 HttpResponseException

GetResponseMessage() 공개 정적인 메소드

public static GetResponseMessage ( string message, HttpStatusCode status ) : HttpResponseMessage
message string
status HttpStatusCode
리턴 System.Net.Http.HttpResponseMessage

GetTimelapseResourceUrl() 공개 정적인 메소드

public static GetTimelapseResourceUrl ( Timelapse timelapse ) : string
timelapse BLL.Entities.Timelapse
리턴 string

GetTimezone() 공개 정적인 메소드

public static GetTimezone ( string tzId ) : string
tzId string
리턴 string