11 instantiations of HeaderDictionary
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Logging\HeaderReaderTests.cs (3)
22var headers = new HeaderDictionary(new Dictionary<string, StringValues> { [HeaderNames.Accept] = MediaTypeNames.Text.Plain }); 32reader.Read(new HeaderDictionary(), listToFill); 57reader.Read(new HeaderDictionary(headers), listToFill);
Logging\RequestHeadersEnricherTests.cs (1)
36var headers = new HeaderDictionary
Microsoft.AspNetCore.Http (3)
Features\FormFeature.cs (1)
275file.Headers = new HeaderDictionary(section.Headers);
Features\HttpRequestFeature.cs (1)
16Headers = new HeaderDictionary();
Features\HttpResponseFeature.cs (1)
17Headers = new HeaderDictionary();
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
736requestFeature.Headers = new HeaderDictionary(requestHeaders);
Microsoft.AspNetCore.ResponseCaching (2)
MemoryCachedResponse.cs (1)
14public IHeaderDictionary Headers { get; set; } = new HeaderDictionary();
ResponseCachingMiddleware.cs (1)
346Headers = new HeaderDictionary()
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.cs (1)
234public IHeaderDictionary RequestTrailers { get; } = new HeaderDictionary();
18 references to HeaderDictionary
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\HeaderReaderTests.cs (1)
22var headers = new HeaderDictionary(new Dictionary<string, StringValues> { [HeaderNames.Accept] = MediaTypeNames.Text.Plain });
Logging\RequestHeadersEnricherTests.cs (1)
36var headers = new HeaderDictionary
Microsoft.AspNetCore.Http (16)
HeaderDictionary.cs (14)
27/// Initializes a new instance of <see cref="HeaderDictionary"/>. 34/// Initializes a new instance of <see cref="HeaderDictionary"/>. 43/// Initializes a new instance of <see cref="HeaderDictionary"/>. 149/// Gets the number of elements contained in the <see cref="HeaderDictionary" />;. 151/// <returns>The number of elements contained in the <see cref="HeaderDictionary" />.</returns> 155/// Gets a value that indicates whether the <see cref="HeaderDictionary" /> is in read-only mode. 157/// <returns>true if the <see cref="HeaderDictionary" /> is in read-only mode; otherwise, false.</returns> 244/// Determines whether the <see cref="HeaderDictionary" /> contains a specific key. 247/// <returns>true if the <see cref="HeaderDictionary" /> contains a specific key; otherwise, false.</returns> 258/// Copies the <see cref="HeaderDictionary" /> elements to a one-dimensional Array instance at the specified index. 260/// <param name="array">The one-dimensional Array that is the destination of the specified objects copied from the <see cref="HeaderDictionary" />.</param> 316/// <returns>true if the <see cref="HeaderDictionary" /> contains the key; otherwise, false.</returns> 394/// Enumerates a <see cref="HeaderDictionary"/>. 409/// Advances the enumerator to the next element of the <see cref="HeaderDictionary"/>.
QueryCollection.cs (1)
204/// Advances the enumerator to the next element of the <see cref="HeaderDictionary"/>.
QueryCollectionInternal.cs (1)
98/// Advances the enumerator to the next element of the <see cref="HeaderDictionary"/>.