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