Exemple #1
0
        public RestClient WithUriTransformer(IRestUriTransformer uriTransformer)
        {
            if (uriTransformer == null)
            {
                throw new ArgumentNullException("uriTransformer");
            }

            _uriTransformer = uriTransformer;
            return(this);
        }
 public void SetUriTransformer(IRestUriTransformer uriTransformer)
 {
     _uriTransformer = uriTransformer;
 }
Exemple #3
0
 public RestClient(string uriFormat, RestService service, IRestUriTransformer uriTransformer)
     : this(uriFormat, service)
 {
     _uriTransformer = uriTransformer;
 }
Exemple #4
0
        public RestClient WithUriTransformer(IRestUriTransformer uriTransformer)
        {
            if (uriTransformer == null) {
                throw new ArgumentNullException("uriTransformer");
            }

            _uriTransformer = uriTransformer;
            return this;
        }
Exemple #5
0
 public void SetUriTransformer(IRestUriTransformer uriTransformer)
 {
     _uriTransformer = uriTransformer;
 }