C# Класс JSIStudios.SimpleRESTServices.Client.Json.JsonRestServices

Наследование: RestServiceBase, IRestService
Показать файл Открыть проект

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

Метод Описание
JsonRestServices ( ) : System

Initializes a new instance of the JsonRestServices class with the default JSON string serializer, retry logic, and URL builder.

JsonRestServices ( IRequestLogger requestLogger ) : System

Initializes a new instance of the JsonRestServices class with the specified request logger and the default JSON string serializer and URL builder.

JsonRestServices ( IRequestLogger logger, HttpStatusCode>.IRetryLogic retryLogic, IUrlBuilder urlBuilder, IStringSerializer stringSerializer ) : System

Initializes a new instance of the JsonRestServices class with the specified logger, retry logic, URI builder, and string serializer.

Описание методов

JsonRestServices() публичный Метод

Initializes a new instance of the JsonRestServices class with the default JSON string serializer, retry logic, and URL builder.
public JsonRestServices ( ) : System
Результат System

JsonRestServices() публичный Метод

Initializes a new instance of the JsonRestServices class with the specified request logger and the default JSON string serializer and URL builder.
public JsonRestServices ( IRequestLogger requestLogger ) : System
requestLogger IRequestLogger The logger to use for requests. Specify null if requests do not need to be logged.
Результат System

JsonRestServices() публичный Метод

Initializes a new instance of the JsonRestServices class with the specified logger, retry logic, URI builder, and string serializer.
/// If is null. /// -or- /// If is null. /// -or- /// If is null. ///
public JsonRestServices ( IRequestLogger logger, HttpStatusCode>.IRetryLogic retryLogic, IUrlBuilder urlBuilder, IStringSerializer stringSerializer ) : System
logger IRequestLogger The logger to use for requests. Specify null if requests do not need to be logged.
retryLogic HttpStatusCode>.IRetryLogic The retry logic to use for REST operations.
urlBuilder IUrlBuilder The URL builder to use for constructing URLs with query parameters.
stringSerializer IStringSerializer The string serializer to use for requests from this service.
Результат System