C# 클래스 JSIStudios.SimpleRESTServices.Client.UrlBuilder

A simple, default implementation of a URI builder.
상속: IUrlBuilder
파일 보기 프로젝트 열기: JSIStudios/SimpleRestServices 1 사용 예제들

공개 메소드들

메소드 설명
Build ( Uri baseUrl, string>.Dictionary queryStringParameters ) : Uri
Build ( string baseAbsoluteUrl, string>.Dictionary queryStringParameters ) : string

Constructs a complete URI for an HTTP request using a base URI and a collection of query string parameters.

If baseAbsoluteUrl already contains a query string, the specified queryStringParameters are appended to the existing query string. This method does not perform substitution for any template parameters which may exist in baseAbsoluteUrl. If queryStringParameters is null or empty, baseAbsoluteUrl is returned unchanged.

메소드 상세

Build() 공개 메소드

public Build ( Uri baseUrl, string>.Dictionary queryStringParameters ) : Uri
baseUrl System.Uri
queryStringParameters string>.Dictionary
리턴 System.Uri

Build() 공개 메소드

Constructs a complete URI for an HTTP request using a base URI and a collection of query string parameters.
If baseAbsoluteUrl already contains a query string, the specified queryStringParameters are appended to the existing query string. This method does not perform substitution for any template parameters which may exist in baseAbsoluteUrl. If queryStringParameters is null or empty, baseAbsoluteUrl is returned unchanged.
If is null.
public Build ( string baseAbsoluteUrl, string>.Dictionary queryStringParameters ) : string
baseAbsoluteUrl string The base URI.
queryStringParameters string>.Dictionary A collection of parameters to place in the URI query string, /// or null if there are no parameters.
리턴 string