public static NormalizeRequestParameters ( WebParameterCollection parameters ) : string | ||
parameters | WebParameterCollection | |
return | string |
public static string ConcatenateRequestElements(string method, string url, WebParameterCollection parameters) { StringBuilder stringBuilder = new StringBuilder(); string value = method.ToUpper() + "&"; string value2 = OAuthTools.UrlEncodeRelaxed(OAuthTools.ConstructRequestUrl(new Uri(url))) + "&"; string value3 = OAuthTools.UrlEncodeRelaxed(OAuthTools.NormalizeRequestParameters(parameters)); stringBuilder.Append(value); stringBuilder.Append(value2); stringBuilder.Append(value3); return(stringBuilder.ToString()); }