public OAuthWebQueryClient(IDictionary<string, string> headers, WebParameterCollection parameters,
                            OAuthParameterHandling parameterHandling, string userAgent, string method)
 {
     _headers = headers;
     Parameters = parameters;
     ParameterHandling = parameterHandling;
     UserAgent = userAgent;
     Method = method;
 }
 private void Initialize(OAuthWebQueryInfo info)
 {
     Method = info.WebMethod;
     ParameterHandling = info.ParameterHandling;
     if(info.FirstUse)
     {
         _recalculate = false;
     }
 }
Exemple #3
0
 private void Initialize(OAuthWebQueryInfo info)
 {
     Method            = info.WebMethod;
     ParameterHandling = info.ParameterHandling;
     if (info.FirstUse)
     {
         _recalculate = false;
     }
 }
 /// <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;
 }
 private static IWebQueryClient CreateOAuthWebQueryClient(IDictionary<string, string> headers,
                                                          WebParameterCollection parameters,
                                                          OAuthParameterHandling parameterHandling,
                                                          string userAgent, string method)
 {
     return new OAuthWebQueryClient(headers, parameters, parameterHandling, userAgent, method);
 }