C# Класс TimelapseApi.Common.Utility

Показать файл Открыть проект

Открытые методы

Метод Описание
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