コード例 #1
0
 public OAuthWebQueryClient(IDictionary<string, string> headers, WebParameterCollection parameters,
                            OAuthParameterHandling parameterHandling, string userAgent, string method)
 {
     _headers = headers;
     Parameters = parameters;
     ParameterHandling = parameterHandling;
     UserAgent = userAgent;
     Method = method;
 }
コード例 #2
0
 private void Initialize(OAuthWebQueryInfo info)
 {
     Method = info.WebMethod;
     ParameterHandling = info.ParameterHandling;
     if(info.FirstUse)
     {
         _recalculate = false;
     }
 }
コード例 #3
0
 private void Initialize(OAuthWebQueryInfo info)
 {
     Method            = info.WebMethod;
     ParameterHandling = info.ParameterHandling;
     if (info.FirstUse)
     {
         _recalculate = false;
     }
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OAuthWebQuery"/> class.
 /// </summary>
 /// <param name="info">The info.</param>
 public OAuthWebQuery(OAuthWebQueryInfo info)
     : base(info)
 {
     Method = info.WebMethod;
     ParameterHandling = info.ParameterHandling;
 }
コード例 #5
0
 private static IWebQueryClient CreateOAuthWebQueryClient(IDictionary<string, string> headers,
                                                          WebParameterCollection parameters,
                                                          OAuthParameterHandling parameterHandling,
                                                          string userAgent, string method)
 {
     return new OAuthWebQueryClient(headers, parameters, parameterHandling, userAgent, method);
 }