Exemplo n.º 1
0
 public OneStepClient(OneStepRegion region)
 {
     requestManager = new OSCRequestManager(region);
     Initialize();
 }
 public OSCRequestManager(string apiurl)
 {
     region     = OneStepRegion.UNKNOWN;
     ApiUrl     = apiurl.TrimEnd('/');
     restClient = new RESTClient();
 }
        public OSCRequestManager(IRESTClient restClient)
        {
            region = OneStepRegion.UNKNOWN;

            this.restClient = restClient;
        }
 public OSCRequestManager(OneStepRegion region)
 {
     this.region = region;
     ApiUrl      = RegionsUrls[region];
     restClient  = new RESTClient();
 }