Пример #1
0
        public RestChannel(RestConfig restConfig, ClientContext clientContext)
            : base(clientContext)
        {
            _restConfig = restConfig;

            _restService = new RestService(_restConfig);
        }
Пример #2
0
 protected RestBase(RestConfig restConfig)
 {
     RestConfig = restConfig;
     ServicePointManager.ServerCertificateValidationCallback = AcceptAllCertifications;
     SecucardTrace.Info(RestConfig.Url);
 }
Пример #3
0
 public RestService(RestConfig restConfig)
     : base(restConfig)
 {
 }