1 implementation of IHeaderRegistry
Microsoft.AspNetCore.HeaderParsing (1)
HeaderRegistry.cs (1)
14
internal sealed class HeaderRegistry :
IHeaderRegistry
8 references to IHeaderRegistry
Microsoft.AspNetCore.HeaderParsing (4)
HeaderParsingFeature.cs (3)
18
private readonly
IHeaderRegistry
_registry;
29
internal HeaderParsingFeature(
IHeaderRegistry
registry, ILogger<HeaderParsingFeature> logger, HeaderParsingMetrics metrics)
94
IHeaderRegistry
registry,
HeaderParsingServiceCollectionExtensions.cs (1)
31
.AddSingleton<
IHeaderRegistry
, HeaderRegistry>()
Microsoft.AspNetCore.HeaderParsing.Tests (4)
HeaderParsingExtensionsTests.cs (2)
84
var headerRegistry = new Mock<
IHeaderRegistry
>();
137
.GetRequiredService<
IHeaderRegistry
>()
HeaderParsingFeatureTests.cs (2)
26
private
IHeaderRegistry
? _registry;
29
private
IHeaderRegistry
Registry => _registry ??= new HeaderRegistry(_services.BuildServiceProvider(), _options);