AnalyticsApi.HttpWrapper.GetParameters C# (CSharp) Method

GetParameters() protected method

protected GetParameters ( string>.Dictionary values ) : string
values string>.Dictionary
return string
        protected string GetParameters(Dictionary<string, string> values)
        {
            if (values == null) throw new ArgumentNullException("values");

            string parameters = string.Empty;

            bool first = true;

            foreach (var val in values)
            {
                if (!first)
                    parameters += "&";

                parameters += string.Concat(val.Key, "=", val.Value);

                first = false;
            }

            return parameters;
        }