Exemplo n.º 1
0
 internal WebHeaderCollection(WebHeaderCollectionType type) : base(DBNull.Value)
 {
     m_Type = type;
     if (type == WebHeaderCollectionType.HttpWebResponse)
         m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1];  // Minus one for the sentinel.
 }
Exemplo n.º 2
0
        internal WebHeaderCollection(WebHeaderCollectionType type)
        {
//            m_Type = type;
//            if (type == WebHeaderCollectionType.HttpWebResponse)
//                m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1];  // Minus one for the sentinel.
        }
 internal WebHeaderCollection(WebHeaderCollectionType type) : base(DBNull.Value)
 {
     this.m_Type = type;
     if (type == WebHeaderCollectionType.HttpWebResponse)
     {
         this.m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1];
     }
 }
        internal WebHeaderCollection(WebHeaderCollectionType type)
        {
//            m_Type = type;
//            if (type == WebHeaderCollectionType.HttpWebResponse)
//                m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1];  // Minus one for the sentinel.
        }		
Exemplo n.º 5
0
 internal XHRWebHeaderCollection(WebHeaderCollectionType type)
 {
     this.collectionType = type;
 }