Пример #1
0
        public ResponsePropertyGrid(string responseStatus, Dictionary<string, string> responseHeaders)
        {
            _dictionary["Status"] = new StringPropertyValue(STATUS_CATEGORY_NAME, responseStatus);

            foreach (var v in responseHeaders) {
                _dictionary[v.Key] = new StringPropertyValue(HEADER_CATEGORY_NAME, v.Value);
            }
        }
Пример #2
0
        public ResponsePropertyGrid(string responseStatus, Dictionary <string, string> responseHeaders)
        {
            _dictionary["Status"] = new StringPropertyValue(STATUS_CATEGORY_NAME, responseStatus);

            foreach (var v in responseHeaders)
            {
                _dictionary[v.Key] = new StringPropertyValue(HEADER_CATEGORY_NAME, v.Value);
            }
        }