Пример #1
0
        protected NameValueCollection PrepareRequestParams(NameValueCollection customRequestParams = null)
        {
            NameValueCollection requestParams = customRequestParams ?? new NameValueCollection();
            NameValueCollection defaultParams = _settings.GetDefaultRequestParams();

            foreach (var key in defaultParams.AllKeys)
            {
                requestParams.Add(key, defaultParams[key]);
            }

            return(requestParams);
        }