checkColonSeparated() private static method

private static checkColonSeparated ( string header ) : int
header string
return int
Ejemplo n.º 1
0
        public void Add(string header)
        {
            if ((header == null ? true : header.Length == 0))
            {
                throw new ArgumentNullException("header");
            }
            int num = WebHeaderCollection.checkColonSeparated(header);

            this.@add(header.Substring(0, num), header.Substring(num + 1), false);
        }
Ejemplo n.º 2
0
        internal void InternalSet(string header, bool response)
        {
            int num = WebHeaderCollection.checkColonSeparated(header);

            this.InternalSet(header.Substring(0, num), header.Substring(num + 1), response);
        }