Example #1
0
        public new string ToString()
        {
            string paramStr = null;

            if (m_dictionary != null)
            {
                foreach (KeyValuePair <string, string> param in m_dictionary)
                {
                    if (param.Value != null && param.Value.Trim().Length > 0)
                    {
                        paramStr += TagDelimiter + param.Key + TAG_NAME_VALUE_SEPERATOR + SIPEscape.SIPURIParameterEscape(param.Value);
                    }
                    else
                    {
                        paramStr += TagDelimiter + param.Key;
                    }
                }
            }

            return(paramStr);
        }