C# 클래스 JSIStudios.SimpleRESTServices.Client.Json.JsonRestServices

상속: RestServiceBase, IRestService
파일 보기 프로젝트 열기: JSIStudios/SimpleRestServices

공개 메소드들

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