Exemple #1
0
 public RestWrapper(string url, object route, string baseUri, RestFacilitator restFacilitator, RestService restService)
 {
     _url             = url;
     _route           = route;
     _baseUri         = baseUri;
     _restFacilitator = restFacilitator;
     _restService     = restService;
 }
Exemple #2
0
 public RestService(RestFacilitator restFacilitator, string baseUri, string authorization = null)
 {
     _restFacilitator = restFacilitator;
     _baseUri         = baseUri;
     _authorization   = authorization;
     if (_baseUri.EndsWith("/") == false)
     {
         _baseUri = _baseUri + "/";
     }
 }
Exemple #3
0
 public PostWrapper(string url, object route, string baseUri, RestFacilitator restFacilitator, RestService restService)
     : base(url, route, baseUri, restFacilitator, restService)
 {
 }
Exemple #4
0
 public AsyncDelegation(RestService restService)
 {
     _restFacilitator = restService.RestFacilitator;
     _restService     = restService;
     BaseUri          = restService.BaseUri;
 }