コード例 #1
0
 public RamoneService(Uri baseUri)
 {
     BaseUri = baseUri;
       DefaultEncoding = Encoding.UTF8;
       CodecManager = new CodecManager();
       AuthorizationDispatcher = new AuthorizationDispatcher();
       RequestInterceptors = new RequestInterceptorSet();
       SerializerSettings = new ObjectSerializerSettings();
       AllowedRedirectsMap = new Dictionary<int, int>();
 }
コード例 #2
0
 public RamoneService(Uri baseUri)
 {
     BaseUri                 = baseUri;
     DefaultEncoding         = Encoding.UTF8;
     CodecManager            = new CodecManager();
     AuthorizationDispatcher = new AuthorizationDispatcher();
     RequestInterceptors     = new RequestInterceptorSet();
     SerializerSettings      = new ObjectSerializerSettings();
     AllowedRedirectsMap     = new Dictionary <int, int>();
 }
コード例 #3
0
ファイル: RequestInterceptorSet.cs プロジェクト: miqui/Ramone
 public RequestInterceptorSet(RequestInterceptorSet src)
 {
   Interceptors = new Dictionary<string, IRequestInterceptor>(src.Interceptors);
 }
コード例 #4
0
 public RequestInterceptorSet(RequestInterceptorSet src)
     : base(src)
 {
 }
コード例 #5
0
 public RequestInterceptorSet(RequestInterceptorSet src)
 {
     Interceptors = new Dictionary <string, IRequestInterceptor>(src.Interceptors);
 }