public void Set(string name, string value)
        {
            if (name == null) throw new ArgumentNullException("name");
            if (value == null) throw new ArgumentNullException("value");

            _items[name] = new HttpHeaderItem(name, value);
        }
예제 #2
0
        public void Set(string name, string value)
        {
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

            _items[name] = new HttpHeaderItem(name, value);
        }