20 references to Registry
Microsoft.AspNetCore.HeaderParsing.Tests (20)
HeaderParsingFeatureTests.cs (20)
48var key = Registry.Register(CommonHeaders.Date); 51var feature = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 66var key = Registry.Register(CommonHeaders.Date); 70var feature = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 76var key2 = Registry.Register(new HeaderSetup<DateTimeOffset>("Test", DateTimeOffsetParser.Instance)); 92var feature = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 94var key = Registry.Register(CommonHeaders.Date); 106var feature = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 107var key = Registry.Register(CommonHeaders.Date); 123var feature = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 124var key = Registry.Register(CommonHeaders.Date); 141var feature = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 142var key = Registry.Register(CommonHeaders.Date); 164var helper = new HeaderParsingFeature.PoolHelper(pool.Object, Registry, _logger, metrics); 168var firstHeaderKey = Registry.Register(new HeaderSetup<DateTimeOffset>("FirstHeader", DateTimeOffsetParser.Instance)); 169var secondHeaderKey = Registry.Register(new HeaderSetup<DateTimeOffset>("SecondHeader", DateTimeOffsetParser.Instance)); 170var thirdHeaderKey = Registry.Register(new HeaderSetup<DateTimeOffset>("ThirdHeader", DateTimeOffsetParser.Instance)); 198var feature = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 199var feature2 = new HeaderParsingFeature(Registry, _logger, metrics) { Context = Context }; 200var key = Registry.Register(CommonHeaders.CacheControl);