checkColonSeparated() 개인적인 정적인 메소드

private static checkColonSeparated ( string header ) : int
header string
리턴 int
예제 #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);
        }
예제 #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);
        }